home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-06-11 | 13.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 53 d7 01 2f 2f 3d 3d 3d |........|S..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 78 |========|==..// x|
|00000060| 44 6f 75 62 6c 65 44 6f | 6d 0d 0a 2f 2f 3d 3d 3d |DoubleDo|m..//===|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 63 6c 61 73 |========|==..clas|
|000000c0| 73 20 78 44 6f 75 62 6c | 65 44 6f 6d 20 65 78 74 |s xDoubl|eDom ext|
|000000d0| 65 6e 64 73 20 54 65 61 | 6d 47 61 6d 65 0d 0a 09 |ends Tea|mGame...|
|000000e0| 63 6f 6e 66 69 67 3b 0d | 0a 0d 0a 2f 2f 20 74 6f |config;.|...// to|
|000000f0| 64 6f 3a 20 64 6f 65 73 | 6e 27 74 20 68 61 6e 64 |do: does|n't hand|
|00000100| 6c 65 20 74 68 65 20 63 | 61 73 65 20 77 68 65 72 |le the c|ase wher|
|00000110| 65 20 63 6f 6e 74 72 6f | 6c 6c 69 6e 67 70 61 77 |e contro|llingpaw|
|00000120| 6e 20 6c 65 61 76 65 73 | 20 74 68 65 20 67 61 6d |n leaves| the gam|
|00000130| 65 20 6f 72 20 69 73 20 | 6b 69 6c 6c 65 64 20 28 |e or is |killed (|
|00000140| 77 68 65 6e 20 69 74 20 | 61 77 61 72 64 73 20 73 |when it |awards s|
|00000150| 63 6f 72 65 2c 20 63 6f | 75 6c 64 20 62 65 20 64 |core, co|uld be d|
|00000160| 61 6e 67 6c 69 6e 67 2e | 2e 2e 29 0d 0a 76 61 72 |angling.|..)..var|
|00000170| 28 29 20 63 6f 6e 66 69 | 67 20 69 6e 74 20 54 69 |() confi|g int Ti|
|00000180| 6d 65 54 6f 53 63 6f 72 | 65 3b 20 20 20 20 20 20 |meToScor|e; |
|00000190| 20 20 20 20 20 20 20 20 | 20 2f 2f 20 64 75 72 61 | | // dura|
|000001a0| 74 69 6f 6e 20 62 6f 74 | 68 20 70 6f 69 6e 74 73 |tion bot|h points|
|000001b0| 20 6d 75 73 74 20 62 65 | 20 63 6f 6e 74 72 6f 6c | must be| control|
|000001c0| 6c 65 64 20 66 6f 72 20 | 74 6f 20 73 63 6f 72 65 |led for |to score|
|000001d0| 20 61 20 70 6f 69 6e 74 | 0d 0a 0d 0a 2f 2f 20 54 | a point|....// T|
|000001e0| 4f 44 4f 20 28 72 6a 70 | 29 20 75 70 64 61 74 65 |ODO (rjp|) update|
|000001f0| 20 74 68 69 73 20 63 6c | 61 73 73 20 74 6f 20 75 | this cl|ass to u|
|00000200| 73 65 20 6e 65 77 20 74 | 69 6d 65 20 74 72 61 63 |se new t|ime trac|
|00000210| 6b 69 6e 67 20 76 61 72 | 73 20 74 68 61 74 20 77 |king var|s that w|
|00000220| 65 72 65 20 6d 65 72 67 | 65 64 20 66 72 6f 6d 20 |ere merg|ed from |
|00000230| 4f 6e 73 6c 61 75 67 68 | 74 2f 41 73 73 61 75 6c |Onslaugh|t/Assaul|
|00000240| 74 2f 42 6f 6d 62 69 6e | 67 52 75 6e 0d 0a 76 61 |t/Bombin|gRun..va|
|00000250| 72 28 29 20 63 6f 6e 66 | 69 67 20 69 6e 74 20 54 |r() conf|ig int T|
|00000260| 69 6d 65 44 69 73 61 62 | 6c 65 64 3b 20 20 20 20 |imeDisab|led; |
|00000270| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 20 64 75 72 | | // dur|
|00000280| 61 74 69 6f 6e 20 62 6f | 74 68 20 70 6f 69 6e 74 |ation bo|th point|
|00000290| 73 20 61 72 65 20 64 69 | 73 61 62 6c 65 64 20 66 |s are di|sabled f|
|000002a0| 6f 72 20 61 66 74 65 72 | 20 61 20 70 6f 69 6e 74 |or after| a point|
|000002b0| 20 69 73 20 73 63 6f 72 | 65 64 0d 0a 0d 0a 76 61 | is scor|ed....va|
|000002c0| 72 20 20 20 78 44 6f 6d | 50 6f 69 6e 74 20 78 44 |r xDom|Point xD|
|000002d0| 6f 6d 50 6f 69 6e 74 73 | 5b 32 5d 3b 20 20 20 20 |omPoints|[2]; |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 20 74 68 65 | | // the|
|000002f0| 20 74 77 6f 20 64 6f 6d | 69 6e 61 74 69 6f 6e 20 | two dom|ination |
|00000300| 70 6f 69 6e 74 73 20 69 | 6e 20 74 68 65 20 6c 65 |points i|n the le|
|00000310| 76 65 6c 0d 0a 76 61 72 | 20 20 20 69 6e 74 20 53 |vel..var| int S|
|00000320| 63 6f 72 65 43 6f 75 6e | 74 44 6f 77 6e 3b 20 20 |coreCoun|tDown; |
|00000330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000340| 20 2f 2f 20 63 6f 75 6e | 74 20 64 6f 77 6e 20 75 | // coun|t down u|
|00000350| 6e 74 69 6c 20 61 20 70 | 6f 69 6e 74 20 69 73 20 |ntil a p|oint is |
|00000360| 73 63 6f 72 65 64 0d 0a | 76 61 72 20 20 20 74 72 |scored..|var tr|
|00000370| 61 6e 73 69 65 6e 74 20 | 69 6e 74 20 44 69 73 61 |ansient |int Disa|
|00000380| 62 6c 65 64 43 6f 75 6e | 74 44 6f 77 6e 3b 20 20 |bledCoun|tDown; |
|00000390| 20 20 20 20 2f 2f 20 63 | 6f 75 6e 74 20 64 6f 77 | // c|ount dow|
|000003a0| 6e 20 75 6e 74 69 6c 20 | 70 6f 69 6e 74 73 20 61 |n until |points a|
|000003b0| 72 65 20 72 65 2d 65 6e | 61 62 6c 65 64 20 61 66 |re re-en|abled af|
|000003c0| 74 65 72 20 61 20 70 6f | 69 6e 74 20 69 73 20 73 |ter a po|int is s|
|000003d0| 63 6f 72 65 64 0d 0a 76 | 61 72 28 29 20 53 6f 75 |cored..v|ar() Sou|
|000003e0| 6e 64 20 43 6f 6e 74 72 | 6f 6c 53 6f 75 6e 64 73 |nd Contr|olSounds|
|000003f0| 5b 32 5d 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 |[2]; | |
|00000400| 20 20 20 2f 2f 20 4f 42 | 53 4f 4c 45 54 45 20 63 | // OB|SOLETE c|
|00000410| 6f 6e 74 72 6f 6c 20 73 | 6f 75 6e 64 73 0d 0a 76 |ontrol s|ounds..v|
|00000420| 61 72 28 29 20 53 6f 75 | 6e 64 20 53 63 6f 72 65 |ar() Sou|nd Score|
|00000430| 53 6f 75 6e 64 73 5b 32 | 5d 3b 20 20 20 20 20 20 |Sounds[2|]; |
|00000440| 20 20 20 20 20 20 20 20 | 20 20 20 2f 2f 20 4f 42 | | // OB|
|00000450| 53 4f 4c 45 54 45 20 73 | 63 6f 72 65 20 73 6f 75 |SOLETE s|core sou|
|00000460| 6e 64 73 0d 0a 76 61 72 | 28 29 20 53 6f 75 6e 64 |nds..var|() Sound|
|00000470| 20 41 76 65 72 74 65 64 | 53 6f 75 6e 64 73 5b 34 | Averted|Sounds[4|
|00000480| 5d 3b 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |]; | |
|00000490| 20 2f 2f 20 4f 42 53 4f | 4c 45 54 45 20 73 63 6f | // OBSO|LETE sco|
|000004a0| 72 65 20 61 76 65 72 74 | 65 64 20 73 6f 75 6e 64 |re avert|ed sound|
|000004b0| 73 0d 0a 76 61 72 28 29 | 20 6e 61 6d 65 20 43 6f |s..var()| name Co|
|000004c0| 6e 74 72 6f 6c 53 6f 75 | 6e 64 4e 61 6d 65 73 5b |ntrolSou|ndNames[|
|000004d0| 32 5d 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |2]; | |
|000004e0| 20 20 2f 2f 20 63 6f 6e | 74 72 6f 6c 20 73 6f 75 | // con|trol sou|
|000004f0| 6e 64 73 0d 0a 76 61 72 | 28 29 20 6e 61 6d 65 20 |nds..var|() name |
|00000500| 53 63 6f 72 65 53 6f 75 | 6e 64 4e 61 6d 65 73 5b |ScoreSou|ndNames[|
|00000510| 32 5d 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |2]; | |
|00000520| 20 20 20 20 2f 2f 20 73 | 63 6f 72 65 20 73 6f 75 | // s|core sou|
|00000530| 6e 64 73 0d 0a 76 61 72 | 28 29 20 6e 61 6d 65 20 |nds..var|() name |
|00000540| 41 76 65 72 74 65 64 53 | 6f 75 6e 64 4e 61 6d 65 |AvertedS|oundName|
|00000550| 73 5b 34 5d 3b 20 20 20 | 20 20 20 20 20 20 20 20 |s[4]; | |
|00000560| 20 20 20 20 2f 2f 20 73 | 63 6f 72 65 20 61 76 65 | // s|core ave|
|00000570| 72 74 65 64 20 73 6f 75 | 6e 64 73 0d 0a 76 61 72 |rted sou|nds..var|
|00000580| 20 73 6f 75 6e 64 20 4e | 65 77 52 6f 75 6e 64 53 | sound N|ewRoundS|
|00000590| 6f 75 6e 64 3b 20 20 2f | 2f 20 4f 42 53 4f 4c 45 |ound; /|/ OBSOLE|
|000005a0| 54 45 0d 0a 0d 0a 2f 2f | 20 6d 63 20 2d 20 6c 6f |TE....//| mc - lo|
|000005b0| 63 61 6c 69 7a 65 64 20 | 50 6c 61 79 49 6e 66 6f |calized |PlayInfo|
|000005c0| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 73 20 26 20 | descrip|tions & |
|000005d0| 65 78 74 72 61 20 69 6e | 66 6f 0d 0a 63 6f 6e 73 |extra in|fo..cons|
|000005e0| 74 20 44 44 50 52 4f 50 | 4e 55 4d 20 3d 20 32 3b |t DDPROP|NUM = 2;|
|000005f0| 0d 0a 76 61 72 20 6c 6f | 63 61 6c 69 7a 65 64 20 |..var lo|calized |
|00000600| 73 74 72 69 6e 67 20 44 | 44 6f 6d 50 72 6f 70 73 |string D|DomProps|
|00000610| 44 69 73 70 6c 61 79 54 | 65 78 74 5b 44 44 50 52 |DisplayT|ext[DDPR|
|00000620| 4f 50 4e 55 4d 5d 3b 0d | 0a 76 61 72 20 6c 6f 63 |OPNUM];.|.var loc|
|00000630| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 44 44 |alized s|tring DD|
|00000640| 6f 6d 50 72 6f 70 44 65 | 73 63 54 65 78 74 5b 44 |omPropDe|scText[D|
|00000650| 44 50 52 4f 50 4e 55 4d | 5d 3b 0d 0a 0d 0a 73 74 |DPROPNUM|];....st|
|00000660| 61 74 69 63 20 66 75 6e | 63 74 69 6f 6e 20 50 72 |atic fun|ction Pr|
|00000670| 65 63 61 63 68 65 47 61 | 6d 65 54 65 78 74 75 72 |ecacheGa|meTextur|
|00000680| 65 73 28 4c 65 76 65 6c | 49 6e 66 6f 20 6d 79 4c |es(Level|Info myL|
|00000690| 65 76 65 6c 29 0d 0a 7b | 0d 0a 09 63 6c 61 73 73 |evel)..{|...class|
|000006a0| 27 78 54 65 61 6d 47 61 | 6d 65 27 2e 73 74 61 74 |'xTeamGa|me'.stat|
|000006b0| 69 63 2e 50 72 65 63 61 | 63 68 65 47 61 6d 65 54 |ic.Preca|cheGameT|
|000006c0| 65 78 74 75 72 65 73 28 | 6d 79 4c 65 76 65 6c 29 |extures(|myLevel)|
|000006d0| 3b 0d 0a 0d 0a 09 6d 79 | 4c 65 76 65 6c 2e 41 64 |;.....my|Level.Ad|
|000006e0| 64 50 72 65 63 61 63 68 | 65 4d 61 74 65 72 69 61 |dPrecach|eMateria|
|000006f0| 6c 28 4d 61 74 65 72 69 | 61 6c 27 58 47 61 6d 65 |l(Materi|al'XGame|
|00000700| 54 65 78 74 75 72 65 73 | 2e 44 4f 4d 70 6f 69 6e |Textures|.DOMpoin|
|00000710| 74 47 52 45 59 27 29 3b | 0d 0a 09 6d 79 4c 65 76 |tGREY');|...myLev|
|00000720| 65 6c 2e 41 64 64 50 72 | 65 63 61 63 68 65 4d 61 |el.AddPr|ecacheMa|
|00000730| 74 65 72 69 61 6c 28 4d | 61 74 65 72 69 61 6c 27 |terial(M|aterial'|
|00000740| 58 47 61 6d 65 54 65 78 | 74 75 72 65 73 2e 44 4f |XGameTex|tures.DO|
|00000750| 4d 70 6f 69 6e 74 4c 49 | 4e 45 53 67 27 29 3b 0d |MpointLI|NESg');.|
|00000760| 0a 09 6d 79 4c 65 76 65 | 6c 2e 41 64 64 50 72 65 |..myLeve|l.AddPre|
|00000770| 63 61 63 68 65 4d 61 74 | 65 72 69 61 6c 28 4d 61 |cacheMat|erial(Ma|
|00000780| 74 65 72 69 61 6c 27 58 | 47 61 6d 65 54 65 78 74 |terial'X|GameText|
|00000790| 75 72 65 73 2e 44 4f 4d | 50 6f 69 6e 74 41 42 67 |ures.DOM|PointABg|
|000007a0| 27 29 3b 0d 0a 09 6d 79 | 4c 65 76 65 6c 2e 41 64 |');...my|Level.Ad|
|000007b0| 64 50 72 65 63 61 63 68 | 65 4d 61 74 65 72 69 61 |dPrecach|eMateria|
|000007c0| 6c 28 4d 61 74 65 72 69 | 61 6c 27 58 47 61 6d 65 |l(Materi|al'XGame|
|000007d0| 54 65 78 74 75 72 65 73 | 2e 44 4f 4d 50 6f 69 6e |Textures|.DOMPoin|
|000007e0| 74 41 42 72 27 29 3b 0d | 0a 09 6d 79 4c 65 76 65 |tABr');.|..myLeve|
|000007f0| 6c 2e 41 64 64 50 72 65 | 63 61 63 68 65 4d 61 74 |l.AddPre|cacheMat|
|00000800| 65 72 69 61 6c 28 4d 61 | 74 65 72 69 61 6c 27 58 |erial(Ma|terial'X|
|00000810| 47 61 6d 65 54 65 78 74 | 75 72 65 73 2e 44 4f 4d |GameText|ures.DOM|
|00000820| 70 6f 69 6e 74 4c 49 4e | 45 53 72 27 29 3b 0d 0a |pointLIN|ESr');..|
|00000830| 09 6d 79 4c 65 76 65 6c | 2e 41 64 64 50 72 65 63 |.myLevel|.AddPrec|
|00000840| 61 63 68 65 4d 61 74 65 | 72 69 61 6c 28 4d 61 74 |acheMate|rial(Mat|
|00000850| 65 72 69 61 6c 27 58 47 | 61 6d 65 54 65 78 74 75 |erial'XG|ameTextu|
|00000860| 72 65 73 2e 44 4f 4d 70 | 6f 69 6e 74 52 45 44 27 |res.DOMp|ointRED'|
|00000870| 29 3b 0d 0a 09 6d 79 4c | 65 76 65 6c 2e 41 64 64 |);...myL|evel.Add|
|00000880| 50 72 65 63 61 63 68 65 | 4d 61 74 65 72 69 61 6c |Precache|Material|
|00000890| 28 4d 61 74 65 72 69 61 | 6c 27 58 47 61 6d 65 54 |(Materia|l'XGameT|
|000008a0| 65 78 74 75 72 65 73 2e | 52 65 64 53 63 72 65 65 |extures.|RedScree|
|000008b0| 6e 41 27 29 3b 0d 0a 09 | 6d 79 4c 65 76 65 6c 2e |nA');...|myLevel.|
|000008c0| 41 64 64 50 72 65 63 61 | 63 68 65 4d 61 74 65 72 |AddPreca|cheMater|
|000008d0| 69 61 6c 28 4d 61 74 65 | 72 69 61 6c 27 58 47 61 |ial(Mate|rial'XGa|
|000008e0| 6d 65 54 65 78 74 75 72 | 65 73 2e 44 4f 4d 50 6f |meTextur|es.DOMPo|
|000008f0| 69 6e 74 41 42 62 27 29 | 3b 0d 0a 09 6d 79 4c 65 |intABb')|;...myLe|
|00000900| 76 65 6c 2e 41 64 64 50 | 72 65 63 61 63 68 65 4d |vel.AddP|recacheM|
|00000910| 61 74 65 72 69 61 6c 28 | 4d 61 74 65 72 69 61 6c |aterial(|Material|
|00000920| 27 58 47 61 6d 65 54 65 | 78 74 75 72 65 73 2e 44 |'XGameTe|xtures.D|
|00000930| 4f 4d 70 6f 69 6e 74 4c | 49 4e 45 53 62 27 29 3b |OMpointL|INESb');|
|00000940| 0d 0a 09 6d 79 4c 65 76 | 65 6c 2e 41 64 64 50 72 |...myLev|el.AddPr|
|00000950| 65 63 61 63 68 65 4d 61 | 74 65 72 69 61 6c 28 4d |ecacheMa|terial(M|
|00000960| 61 74 65 72 69 61 6c 27 | 58 47 61 6d 65 54 65 78 |aterial'|XGameTex|
|00000970| 74 75 72 65 73 2e 44 4f | 4d 70 6f 69 6e 74 42 4c |tures.DO|MpointBL|
|00000980| 55 45 27 29 3b 0d 0a 09 | 6d 79 4c 65 76 65 6c 2e |UE');...|myLevel.|
|00000990| 41 64 64 50 72 65 63 61 | 63 68 65 4d 61 74 65 72 |AddPreca|cheMater|
|000009a0| 69 61 6c 28 4d 61 74 65 | 72 69 61 6c 27 58 45 66 |ial(Mate|rial'XEf|
|000009b0| 66 65 63 74 73 2e 52 65 | 64 4d 61 72 6b 65 72 5f |fects.Re|dMarker_|
|000009c0| 54 27 29 3b 0d 0a 09 6d | 79 4c 65 76 65 6c 2e 41 |T');...m|yLevel.A|
|000009d0| 64 64 50 72 65 63 61 63 | 68 65 4d 61 74 65 72 69 |ddPrecac|heMateri|
|000009e0| 61 6c 28 4d 61 74 65 72 | 69 61 6c 27 58 45 66 66 |al(Mater|ial'XEff|
|000009f0| 65 63 74 73 2e 42 6c 75 | 65 4d 61 72 6b 65 72 5f |ects.Blu|eMarker_|
|00000a00| 54 27 29 3b 0d 0a 7d 0d | 0a 0d 0a 73 74 61 74 69 |T');..}.|...stati|
|00000a10| 63 20 66 75 6e 63 74 69 | 6f 6e 20 50 72 65 63 61 |c functi|on Preca|
|00000a20| 63 68 65 47 61 6d 65 41 | 6e 6e 6f 75 6e 63 65 6d |cheGameA|nnouncem|
|00000a30| 65 6e 74 73 28 41 6e 6e | 6f 75 6e 63 65 72 56 6f |ents(Ann|ouncerVo|
|00000a40| 69 63 65 20 56 2c 20 62 | 6f 6f 6c 20 62 52 65 77 |ice V, b|ool bRew|
|00000a50| 61 72 64 53 6f 75 6e 64 | 73 29 0d 0a 7b 0d 0a 09 |ardSound|s)..{...|
|00000a60| 53 75 70 65 72 2e 50 72 | 65 63 61 63 68 65 47 61 |Super.Pr|ecacheGa|
|00000a70| 6d 65 41 6e 6e 6f 75 6e | 63 65 6d 65 6e 74 73 28 |meAnnoun|cements(|
|00000a80| 56 2c 62 52 65 77 61 72 | 64 53 6f 75 6e 64 73 29 |V,bRewar|dSounds)|
|00000a90| 3b 0d 0a 09 69 66 20 28 | 20 21 62 52 65 77 61 72 |;...if (| !bRewar|
|00000aa0| 64 53 6f 75 6e 64 73 20 | 29 0d 0a 09 7b 0d 0a 09 |dSounds |)...{...|
|00000ab0| 09 56 2e 50 72 65 63 61 | 63 68 65 53 6f 75 6e 64 |.V.Preca|cheSound|
|00000ac0| 28 44 65 66 61 75 6c 74 | 2e 43 6f 6e 74 72 6f 6c |(Default|.Control|
|00000ad0| 53 6f 75 6e 64 4e 61 6d | 65 73 5b 30 5d 29 3b 0d |SoundNam|es[0]);.|
|00000ae0| 0a 09 09 56 2e 50 72 65 | 63 61 63 68 65 53 6f 75 |...V.Pre|cacheSou|
|00000af0| 6e 64 28 44 65 66 61 75 | 6c 74 2e 43 6f 6e 74 72 |nd(Defau|lt.Contr|
|00000b00| 6f 6c 53 6f 75 6e 64 4e | 61 6d 65 73 5b 31 5d 29 |olSoundN|ames[1])|
|00000b10| 3b 0d 0a 09 09 56 2e 50 | 72 65 63 61 63 68 65 53 |;....V.P|recacheS|
|00000b20| 6f 75 6e 64 28 44 65 66 | 61 75 6c 74 2e 53 63 6f |ound(Def|ault.Sco|
|00000b30| 72 65 53 6f 75 6e 64 4e | 61 6d 65 73 5b 30 5d 29 |reSoundN|ames[0])|
|00000b40| 3b 0d 0a 09 09 56 2e 50 | 72 65 63 61 63 68 65 53 |;....V.P|recacheS|
|00000b50| 6f 75 6e 64 28 44 65 66 | 61 75 6c 74 2e 53 63 6f |ound(Def|ault.Sco|
|00000b60| 72 65 53 6f 75 6e 64 4e | 61 6d 65 73 5b 31 5d 29 |reSoundN|ames[1])|
|00000b70| 3b 0d 0a 09 09 56 2e 50 | 72 65 63 61 63 68 65 53 |;....V.P|recacheS|
|00000b80| 6f 75 6e 64 28 44 65 66 | 61 75 6c 74 2e 41 76 65 |ound(Def|ault.Ave|
|00000b90| 72 74 65 64 53 6f 75 6e | 64 4e 61 6d 65 73 5b 31 |rtedSoun|dNames[1|
|00000ba0| 5d 29 3b 0d 0a 09 09 56 | 2e 50 72 65 63 61 63 68 |]);....V|.Precach|
|00000bb0| 65 53 6f 75 6e 64 28 44 | 65 66 61 75 6c 74 2e 41 |eSound(D|efault.A|
|00000bc0| 76 65 72 74 65 64 53 6f | 75 6e 64 4e 61 6d 65 73 |vertedSo|undNames|
|00000bd0| 5b 33 5d 29 3b 0d 0a 09 | 09 56 2e 50 72 65 63 61 |[3]);...|.V.Preca|
|00000be0| 63 68 65 53 6f 75 6e 64 | 28 27 4e 65 77 52 6f 75 |cheSound|('NewRou|
|00000bf0| 6e 64 49 6e 27 29 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |ndIn');.|..}..}..|
|00000c00| 0d 0a 2f 2a 20 4f 42 53 | 4f 4c 45 54 45 20 55 70 |../* OBS|OLETE Up|
|00000c10| 64 61 74 65 41 6e 6e 6f | 75 6e 63 65 6d 65 6e 74 |dateAnno|uncement|
|00000c20| 73 28 29 20 2d 20 70 72 | 65 6c 6f 61 64 20 61 6c |s() - pr|eload al|
|00000c30| 6c 20 61 6e 6e 6f 75 6e | 63 65 72 20 70 68 72 61 |l announ|cer phra|
|00000c40| 73 65 73 20 75 73 65 64 | 20 62 79 20 74 68 69 73 |ses used| by this|
|00000c50| 20 61 63 74 6f 72 20 2a | 2f 0d 0a 73 69 6d 75 6c | actor *|/..simul|
|00000c60| 61 74 65 64 20 66 75 6e | 63 74 69 6f 6e 20 55 70 |ated fun|ction Up|
|00000c70| 64 61 74 65 41 6e 6e 6f | 75 6e 63 65 6d 65 6e 74 |dateAnno|uncement|
|00000c80| 73 28 29 20 7b 7d 0d 0a | 0d 0a 2f 2f 20 46 49 58 |s() {}..|..// FIX|
|00000c90| 4d 45 20 44 44 4f 4d 2d | 20 31 36 20 69 73 20 61 |ME DDOM-| 16 is a|
|00000ca0| 6c 70 68 61 20 73 65 63 | 75 72 65 2c 20 31 37 20 |lpha sec|ure, 17 |
|00000cb0| 69 73 20 62 72 61 76 6f | 20 73 65 63 75 72 65 0d |is bravo| secure.|
|00000cc0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 69 6e 74 20 |...funct|ion int |
|00000cd0| 47 65 74 53 74 61 74 75 | 73 28 50 6c 61 79 65 72 |GetStatu|s(Player|
|00000ce0| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 53 65 6e 64 65 |Controll|er Sende|
|00000cf0| 72 2c 20 42 6f 74 20 42 | 29 0d 0a 7b 0d 0a 09 6c |r, Bot B|)..{...l|
|00000d00| 6f 63 61 6c 20 6e 61 6d | 65 20 42 6f 74 4f 72 64 |ocal nam|e BotOrd|
|00000d10| 65 72 73 3b 0d 0a 0d 0a | 09 42 6f 74 4f 72 64 65 |ers;....|.BotOrde|
|00000d20| 72 73 20 3d 20 42 2e 47 | 65 74 4f 72 64 65 72 73 |rs = B.G|etOrders|
|00000d30| 28 29 3b 0d 0a 09 69 66 | 20 28 20 42 2e 50 61 77 |();...if| ( B.Paw|
|00000d40| 6e 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 7b 0d |n == Non|e )...{.|
|00000d50| 0a 09 09 69 66 20 28 20 | 28 42 6f 74 4f 72 64 65 |...if ( |(BotOrde|
|00000d60| 72 73 20 3d 3d 20 27 44 | 45 46 45 4e 44 27 29 20 |rs == 'D|EFEND') |
|00000d70| 26 26 20 28 42 2e 53 71 | 75 61 64 2e 53 69 7a 65 |&& (B.Sq|uad.Size|
|00000d80| 20 3d 3d 20 31 29 20 29 | 0d 0a 09 09 09 72 65 74 | == 1) )|.....ret|
|00000d90| 75 72 6e 20 30 3b 0d 0a | 09 7d 0d 0a 09 65 6c 73 |urn 0;..|.}...els|
|00000da0| 65 20 69 66 20 28 20 28 | 42 2e 45 6e 65 6d 79 20 |e if ( (|B.Enemy |
|00000db0| 3d 3d 20 4e 6f 6e 65 29 | 20 26 26 20 28 42 2e 53 |== None)| && (B.S|
|00000dc0| 71 75 61 64 2e 53 71 75 | 61 64 4f 62 6a 65 63 74 |quad.Squ|adObject|
|00000dd0| 69 76 65 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |ive != N|one) && |
|00000de0| 28 42 2e 53 71 75 61 64 | 2e 53 71 75 61 64 4f 62 |(B.Squad|.SquadOb|
|00000df0| 6a 65 63 74 69 76 65 2e | 44 65 66 65 6e 64 65 72 |jective.|Defender|
|00000e00| 54 65 61 6d 49 6e 64 65 | 78 20 3d 3d 20 42 2e 53 |TeamInde|x == B.S|
|00000e10| 71 75 61 64 2e 54 65 61 | 6d 2e 54 65 61 6d 49 6e |quad.Tea|m.TeamIn|
|00000e20| 64 65 78 29 0d 0a 09 09 | 09 09 26 26 20 42 2e 4c |dex)....|..&& B.L|
|00000e30| 69 6e 65 4f 66 53 69 67 | 68 74 54 6f 28 42 2e 53 |ineOfSig|htTo(B.S|
|00000e40| 71 75 61 64 2e 53 71 75 | 61 64 4f 62 6a 65 63 74 |quad.Squ|adObject|
|00000e50| 69 76 65 29 20 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |ive) )..|.{....if|
|00000e60| 20 28 20 44 6f 6d 69 6e | 61 74 69 6f 6e 50 6f 69 | ( Domin|ationPoi|
|00000e70| 6e 74 28 42 2e 53 71 75 | 61 64 2e 53 71 75 61 64 |nt(B.Squ|ad.Squad|
|00000e80| 4f 62 6a 65 63 74 69 76 | 65 29 2e 50 72 69 6d 61 |Objectiv|e).Prima|
|00000e90| 72 79 54 65 61 6d 20 3d | 3d 20 30 20 29 0d 0a 09 |ryTeam =|= 0 )...|
|00000ea0| 09 09 72 65 74 75 72 6e | 20 31 36 3b 0d 0a 09 09 |..return| 16;....|
|00000eb0| 65 6c 73 65 0d 0a 09 09 | 09 72 65 74 75 72 6e 20 |else....|.return |
|00000ec0| 31 37 3b 0d 0a 09 7d 0d | 0a 09 65 6c 73 65 0d 0a |17;...}.|..else..|
|00000ed0| 09 09 72 65 74 75 72 6e | 20 73 75 70 65 72 2e 47 |..return| super.G|
|00000ee0| 65 74 53 74 61 74 75 73 | 28 53 65 6e 64 65 72 2c |etStatus|(Sender,|
|00000ef0| 20 42 29 3b 0d 0a 0d 0a | 7d 0d 0a 73 74 61 74 69 | B);....|}..stati|
|00000f00| 63 20 66 75 6e 63 74 69 | 6f 6e 20 69 6e 74 20 4f |c functi|on int O|
|00000f10| 72 64 65 72 54 6f 49 6e | 64 65 78 28 69 6e 74 20 |rderToIn|dex(int |
|00000f20| 4f 72 64 65 72 29 0d 0a | 7b 0d 0a 09 69 66 28 4f |Order)..|{...if(O|
|00000f30| 72 64 65 72 20 3d 3d 20 | 30 29 0d 0a 09 09 72 65 |rder == |0)....re|
|00000f40| 74 75 72 6e 20 31 32 3b | 0d 0a 0d 0a 09 69 66 28 |turn 12;|.....if(|
|00000f50| 4f 72 64 65 72 20 3d 3d | 20 32 29 0d 0a 09 09 72 |Order ==| 2)....r|
|00000f60| 65 74 75 72 6e 20 31 33 | 3b 0d 0a 0d 0a 09 72 65 |eturn 13|;.....re|
|00000f70| 74 75 72 6e 20 4f 72 64 | 65 72 3b 0d 0a 7d 0d 0a |turn Ord|er;..}..|
|00000f80| 0d 0a 73 74 61 74 69 63 | 20 66 75 6e 63 74 69 6f |..static| functio|
|00000f90| 6e 20 50 72 65 63 61 63 | 68 65 47 61 6d 65 53 74 |n Precac|heGameSt|
|00000fa0| 61 74 69 63 4d 65 73 68 | 65 73 28 4c 65 76 65 6c |aticMesh|es(Level|
|00000fb0| 49 6e 66 6f 20 6d 79 4c | 65 76 65 6c 29 0d 0a 7b |Info myL|evel)..{|
|00000fc0| 0d 0a 09 63 6c 61 73 73 | 27 78 44 65 61 74 68 4d |...class|'xDeathM|
|00000fd0| 61 74 63 68 27 2e 73 74 | 61 74 69 63 2e 50 72 65 |atch'.st|atic.Pre|
|00000fe0| 63 61 63 68 65 47 61 6d | 65 53 74 61 74 69 63 4d |cacheGam|eStaticM|
|00000ff0| 65 73 68 65 73 28 6d 79 | 4c 65 76 65 6c 29 3b 0d |eshes(my|Level);.|
|00001000| 0a 0d 0a 09 6d 79 4c 65 | 76 65 6c 2e 41 64 64 50 |....myLe|vel.AddP|
|00001010| 72 65 63 61 63 68 65 53 | 74 61 74 69 63 4d 65 73 |recacheS|taticMes|
|00001020| 68 28 53 74 61 74 69 63 | 4d 65 73 68 27 58 47 61 |h(Static|Mesh'XGa|
|00001030| 6d 65 5f 72 63 2e 44 6f | 6d 52 69 6e 67 27 29 3b |me_rc.Do|mRing');|
|00001040| 0d 0a 09 6d 79 4c 65 76 | 65 6c 2e 41 64 64 50 72 |...myLev|el.AddPr|
|00001050| 65 63 61 63 68 65 53 74 | 61 74 69 63 4d 65 73 68 |ecacheSt|aticMesh|
|00001060| 28 53 74 61 74 69 63 4d | 65 73 68 27 58 47 61 6d |(StaticM|esh'XGam|
|00001070| 65 5f 72 63 2e 44 6f 6d | 41 4d 65 73 68 27 29 3b |e_rc.Dom|AMesh');|
|00001080| 0d 0a 09 6d 79 4c 65 76 | 65 6c 2e 41 64 64 50 72 |...myLev|el.AddPr|
|00001090| 65 63 61 63 68 65 53 74 | 61 74 69 63 4d 65 73 68 |ecacheSt|aticMesh|
|000010a0| 28 53 74 61 74 69 63 4d | 65 73 68 27 58 47 61 6d |(StaticM|esh'XGam|
|000010b0| 65 5f 72 63 2e 44 6f 6d | 42 4d 65 73 68 27 29 3b |e_rc.Dom|BMesh');|
|000010c0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000010d0| 50 6f 73 74 42 65 67 69 | 6e 50 6c 61 79 28 29 0d |PostBegi|nPlay().|
|000010e0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 4e 61 76 69 67 |.{...loc|al Navig|
|000010f0| 61 74 69 6f 6e 50 6f 69 | 6e 74 20 4e 3b 0d 0a 09 |ationPoi|nt N;...|
|00001100| 6c 6f 63 61 6c 20 69 6e | 74 20 69 3b 0d 0a 0d 0a |local in|t i;....|
|00001110| 09 53 75 70 65 72 2e 50 | 6f 73 74 42 65 67 69 6e |.Super.P|ostBegin|
|00001120| 50 6c 61 79 28 29 3b 0d | 0a 0d 0a 20 20 20 20 2f |Play();.|... /|
|00001130| 2f 20 66 69 6e 64 20 74 | 68 65 20 66 69 72 73 74 |/ find t|he first|
|00001140| 20 74 77 6f 20 64 6f 6d | 69 6e 61 74 69 6f 6e 20 | two dom|ination |
|00001150| 70 6f 69 6e 74 73 20 69 | 6e 20 74 68 65 20 6c 65 |points i|n the le|
|00001160| 76 65 6c 0d 0a 09 69 20 | 3d 20 30 3b 0d 0a 09 66 |vel...i |= 0;...f|
|00001170| 6f 72 28 4e 20 3d 20 4c | 65 76 65 6c 2e 4e 61 76 |or(N = L|evel.Nav|
|00001180| 69 67 61 74 69 6f 6e 50 | 6f 69 6e 74 4c 69 73 74 |igationP|ointList|
|00001190| 3b 20 4e 20 21 3d 20 4e | 6f 6e 65 3b 20 4e 20 3d |; N != N|one; N =|
|000011a0| 20 4e 2e 4e 65 78 74 4e | 61 76 69 67 61 74 69 6f | N.NextN|avigatio|
|000011b0| 6e 50 6f 69 6e 74 29 0d | 0a 09 7b 0d 0a 09 09 69 |nPoint).|..{....i|
|000011c0| 66 20 28 4e 2e 49 73 41 | 28 27 78 44 6f 6d 50 6f |f (N.IsA|('xDomPo|
|000011d0| 69 6e 74 27 29 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |int'))..|..{.....|
|000011e0| 78 44 6f 6d 50 6f 69 6e | 74 73 5b 69 5d 20 3d 20 |xDomPoin|ts[i] = |
|000011f0| 78 44 6f 6d 50 6f 69 6e | 74 28 4e 29 3b 0d 0a 09 |xDomPoin|t(N);...|
|00001200| 09 09 78 44 6f 6d 50 6f | 69 6e 74 73 5b 69 5d 2e |..xDomPo|ints[i].|
|00001210| 52 65 73 65 74 43 6f 75 | 6e 74 20 3d 20 52 65 73 |ResetCou|nt = Res|
|00001220| 65 74 43 6f 75 6e 74 3b | 0d 0a 09 09 09 69 2b 2b |etCount;|.....i++|
|00001230| 3b 0d 0a 09 09 09 69 66 | 20 28 69 20 3d 3d 20 32 |;.....if| (i == 2|
|00001240| 29 20 62 72 65 61 6b 3b | 0d 0a 09 09 7d 0d 0a 09 |) break;|....}...|
|00001250| 7d 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 69 20 21 |}.... | if (i !|
|00001260| 3d 20 32 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |= 2).. | {.. |
|00001270| 20 20 20 20 20 2f 2f 20 | 74 68 65 72 65 20 77 65 | // |there we|
|00001280| 72 65 20 6e 6f 74 20 65 | 6e 6f 75 67 68 20 64 6f |re not e|nough do|
|00001290| 6d 69 6e 61 74 69 6f 6e | 20 70 6f 69 6e 74 73 20 |mination| points |
|000012a0| 69 6e 20 74 68 65 20 6c | 65 76 65 6c 21 0d 0a 09 |in the l|evel!...|
|000012b0| 09 6c 6f 67 28 22 78 44 | 6f 75 62 6c 65 44 6f 6d |.log("xD|oubleDom|
|000012c0| 3a 20 4c 65 76 65 6c 20 | 68 61 73 20 77 72 6f 6e |: Level |has wron|
|000012d0| 67 20 6e 75 6d 62 65 72 | 20 6f 66 20 44 6f 6d 69 |g number| of Domi|
|000012e0| 6e 61 74 69 6f 6e 20 50 | 6f 69 6e 74 73 21 22 2c |nation P|oints!",|
|000012f0| 27 45 72 72 6f 72 27 29 | 3b 0d 0a 09 7d 0d 0a 7d |'Error')|;...}..}|
|00001300| 0d 0a 0d 0a 53 74 61 74 | 65 20 4d 61 74 63 68 49 |....Stat|e MatchI|
|00001310| 6e 50 72 6f 67 72 65 73 | 73 0d 0a 7b 0d 0a 09 66 |nProgres|s..{...f|
|00001320| 75 6e 63 74 69 6f 6e 20 | 54 69 6d 65 72 28 29 0d |unction |Timer().|
|00001330| 0a 09 7b 0d 0a 09 09 6c | 6f 63 61 6c 20 43 6f 6e |..{....l|ocal Con|
|00001340| 74 72 6f 6c 6c 65 72 20 | 54 65 61 6d 4d 61 74 65 |troller |TeamMate|
|00001350| 3b 0d 0a 09 09 6c 6f 63 | 61 6c 20 69 6e 74 20 69 |;....loc|al int i|
|00001360| 3b 0d 0a 0d 0a 09 09 53 | 75 70 65 72 2e 54 69 6d |;......S|uper.Tim|
|00001370| 65 72 28 29 3b 0d 0a 0d | 0a 09 09 69 66 20 28 62 |er();...|...if (b|
|00001380| 47 61 6d 65 45 6e 64 65 | 64 20 7c 7c 20 78 44 6f |GameEnde|d || xDo|
|00001390| 6d 50 6f 69 6e 74 73 5b | 30 5d 20 3d 3d 20 4e 6f |mPoints[|0] == No|
|000013a0| 6e 65 20 7c 7c 20 78 44 | 6f 6d 50 6f 69 6e 74 73 |ne || xD|omPoints|
|000013b0| 5b 31 5d 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |[1] == N|one)....|
|000013c0| 09 72 65 74 75 72 6e 3b | 0d 0a 0d 0a 09 09 2f 2f |.return;|......//|
|000013d0| 20 61 72 65 20 62 6f 74 | 68 20 70 6f 69 6e 74 73 | are bot|h points|
|000013e0| 20 63 75 72 72 65 6e 74 | 6c 79 20 64 69 73 61 62 | current|ly disab|
|000013f0| 6c 65 64 3f 0d 0a 09 09 | 69 66 20 28 44 69 73 61 |led?....|if (Disa|
|00001400| 62 6c 65 64 43 6f 75 6e | 74 44 6f 77 6e 20 3e 20 |bledCoun|tDown > |
|00001410| 30 29 0d 0a 09 09 7b 0d | 0a 09 09 09 44 69 73 61 |0)....{.|....Disa|
|00001420| 62 6c 65 64 43 6f 75 6e | 74 44 6f 77 6e 2d 2d 3b |bledCoun|tDown--;|
|00001430| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |.. | if|
|00001440| 20 28 20 44 69 73 61 62 | 6c 65 64 43 6f 75 6e 74 | ( Disab|ledCount|
|00001450| 44 6f 77 6e 20 3d 3d 20 | 37 20 29 0d 0a 20 20 20 |Down == |7 ).. |
|00001460| 20 20 20 20 20 20 20 20 | 20 7b 0d 0a 20 20 20 20 | | {.. |
|00001470| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 6f 72 20 | | for |
|00001480| 28 20 54 65 61 6d 4d 61 | 74 65 20 3d 20 4c 65 76 |( TeamMa|te = Lev|
|00001490| 65 6c 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 4c 69 73 |el.Contr|ollerLis|
|000014a0| 74 3b 20 54 65 61 6d 4d | 61 74 65 20 21 3d 20 4e |t; TeamM|ate != N|
|000014b0| 6f 6e 65 3b 20 54 65 61 | 6d 4d 61 74 65 20 3d 20 |one; Tea|mMate = |
|000014c0| 54 65 61 6d 4d 61 74 65 | 2e 4e 65 78 74 43 6f 6e |TeamMate|.NextCon|
|000014d0| 74 72 6f 6c 6c 65 72 20 | 29 0d 0a 20 20 20 20 20 |troller |).. |
|000014e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|000014f0| 66 20 28 20 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f |f ( Play|erContro|
|00001500| 6c 6c 65 72 28 54 65 61 | 6d 4d 61 74 65 29 20 21 |ller(Tea|mMate) !|
|00001510| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 09 09 09 |= None )|........|
|00001520| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00001530| 28 54 65 61 6d 4d 61 74 | 65 29 2e 50 6c 61 79 53 |(TeamMat|e).PlayS|
|00001540| 74 61 74 75 73 41 6e 6e | 6f 75 6e 63 65 6d 65 6e |tatusAnn|ouncemen|
|00001550| 74 28 27 4e 65 77 52 6f | 75 6e 64 49 6e 27 2c 31 |t('NewRo|undIn',1|
|00001560| 2c 74 72 75 65 29 3b 0d | 0a 09 09 09 7d 0d 0a 09 |,true);.|....}...|
|00001570| 20 20 20 20 20 20 20 20 | 65 6c 73 65 20 69 66 20 | |else if |
|00001580| 28 20 28 44 69 73 61 62 | 6c 65 64 43 6f 75 6e 74 |( (Disab|ledCount|
|00001590| 44 6f 77 6e 20 3e 20 30 | 29 20 26 26 20 28 44 69 |Down > 0|) && (Di|
|000015a0| 73 61 62 6c 65 64 43 6f | 75 6e 74 44 6f 77 6e 20 |sabledCo|untDown |
|000015b0| 3c 20 36 29 20 29 0d 0a | 09 09 09 09 42 72 6f 61 |< 6) )..|....Broa|
|000015c0| 64 63 61 73 74 4c 6f 63 | 61 6c 69 7a 65 64 4d 65 |dcastLoc|alizedMe|
|000015d0| 73 73 61 67 65 28 63 6c | 61 73 73 27 54 69 6d 65 |ssage(cl|ass'Time|
|000015e0| 72 4d 65 73 73 61 67 65 | 27 2c 20 44 69 73 61 62 |rMessage|', Disab|
|000015f0| 6c 65 64 43 6f 75 6e 74 | 44 6f 77 6e 29 3b 0d 0a |ledCount|Down);..|
|00001600| 0d 0a 09 09 09 69 66 20 | 28 44 69 73 61 62 6c 65 |.....if |(Disable|
|00001610| 64 43 6f 75 6e 74 44 6f | 77 6e 20 3d 3d 20 30 29 |dCountDo|wn == 0)|
|00001620| 0d 0a 09 09 09 7b 0d 0a | 09 09 09 09 78 44 6f 6d |.....{..|....xDom|
|00001630| 50 6f 69 6e 74 73 5b 30 | 5d 2e 52 65 73 65 74 50 |Points[0|].ResetP|
|00001640| 6f 69 6e 74 28 74 72 75 | 65 29 3b 0d 0a 09 09 09 |oint(tru|e);.....|
|00001650| 09 78 44 6f 6d 50 6f 69 | 6e 74 73 5b 31 5d 2e 52 |.xDomPoi|nts[1].R|
|00001660| 65 73 65 74 50 6f 69 6e | 74 28 74 72 75 65 29 3b |esetPoin|t(true);|
|00001670| 0d 0a 09 09 09 7d 0d 0a | 0d 0a 09 09 7d 0d 0a 0d |.....}..|....}...|
|00001680| 0a 20 20 20 20 20 20 20 | 20 2f 2f 20 6e 6f 74 68 |. | // noth|
|00001690| 69 6e 67 20 6d 6f 72 65 | 20 74 6f 20 64 6f 20 75 |ing more| to do u|
|000016a0| 6e 6c 65 73 73 20 74 68 | 65 20 73 61 6d 65 20 74 |nless th|e same t|
|000016b0| 65 61 6d 20 63 6f 6e 74 | 72 6f 6c 73 20 62 6f 74 |eam cont|rols bot|
|000016c0| 68 20 70 6f 69 6e 74 73 | 0d 0a 20 20 20 20 20 20 |h points|.. |
|000016d0| 20 20 69 66 20 28 20 28 | 78 44 6f 6d 50 6f 69 6e | if ( (|xDomPoin|
|000016e0| 74 73 5b 30 5d 2e 43 6f | 6e 74 72 6f 6c 6c 69 6e |ts[0].Co|ntrollin|
|000016f0| 67 54 65 61 6d 20 21 3d | 20 78 44 6f 6d 50 6f 69 |gTeam !=| xDomPoi|
|00001700| 6e 74 73 5b 31 5d 2e 43 | 6f 6e 74 72 6f 6c 6c 69 |nts[1].C|ontrolli|
|00001710| 6e 67 54 65 61 6d 29 20 | 7c 7c 20 28 78 44 6f 6d |ngTeam) ||| (xDom|
|00001720| 50 6f 69 6e 74 73 5b 30 | 5d 2e 43 6f 6e 74 72 6f |Points[0|].Contro|
|00001730| 6c 6c 69 6e 67 54 65 61 | 6d 20 3d 3d 20 4e 6f 6e |llingTea|m == Non|
|00001740| 65 29 20 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |e) ).. | |
|00001750| 20 20 72 65 74 75 72 6e | 3b 0d 0a 0d 0a 09 09 69 | return|;......i|
|00001760| 66 20 28 53 63 6f 72 65 | 43 6f 75 6e 74 44 6f 77 |f (Score|CountDow|
|00001770| 6e 20 3d 3d 20 54 69 6d | 65 54 6f 53 63 6f 72 65 |n == Tim|eToScore|
|00001780| 29 0d 0a 09 09 7b 0d 0a | 09 09 20 20 20 20 66 6f |)....{..|.. fo|
|00001790| 72 20 28 54 65 61 6d 4d | 61 74 65 20 3d 20 4c 65 |r (TeamM|ate = Le|
|000017a0| 76 65 6c 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 4c 69 |vel.Cont|rollerLi|
|000017b0| 73 74 3b 20 54 65 61 6d | 4d 61 74 65 20 21 3d 20 |st; Team|Mate != |
|000017c0| 4e 6f 6e 65 3b 20 54 65 | 61 6d 4d 61 74 65 20 3d |None; Te|amMate =|
|000017d0| 20 54 65 61 6d 4d 61 74 | 65 2e 4e 65 78 74 43 6f | TeamMat|e.NextCo|
|000017e0| 6e 74 72 6f 6c 6c 65 72 | 29 0d 0a 20 20 20 20 20 |ntroller|).. |
|000017f0| 20 20 20 20 20 20 20 7b | 0d 0a 09 09 09 20 20 20 | {|..... |
|00001800| 20 69 66 20 28 54 65 61 | 6d 4d 61 74 65 2e 49 73 | if (Tea|mMate.Is|
|00001810| 41 28 27 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |A('Playe|rControl|
|00001820| 6c 65 72 27 29 29 0d 0a | 09 09 09 09 20 20 20 20 |ler'))..|.... |
|00001830| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00001840| 28 54 65 61 6d 4d 61 74 | 65 29 2e 50 6c 61 79 53 |(TeamMat|e).PlayS|
|00001850| 74 61 74 75 73 41 6e 6e | 6f 75 6e 63 65 6d 65 6e |tatusAnn|ouncemen|
|00001860| 74 28 43 6f 6e 74 72 6f | 6c 53 6f 75 6e 64 4e 61 |t(Contro|lSoundNa|
|00001870| 6d 65 73 5b 78 44 6f 6d | 50 6f 69 6e 74 73 5b 30 |mes[xDom|Points[0|
|00001880| 5d 2e 43 6f 6e 74 72 6f | 6c 6c 69 6e 67 54 65 61 |].Contro|llingTea|
|00001890| 6d 2e 54 65 61 6d 49 6e | 64 65 78 5d 2c 31 2c 74 |m.TeamIn|dex],1,t|
|000018a0| 72 75 65 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 09 |rue);.. | .|
|000018b0| 7d 0d 0a 09 09 7d 0d 0a | 0d 0a 09 09 69 66 20 28 |}....}..|....if (|
|000018c0| 53 63 6f 72 65 43 6f 75 | 6e 74 44 6f 77 6e 20 3e |ScoreCou|ntDown >|
|000018d0| 20 30 20 26 26 20 53 63 | 6f 72 65 43 6f 75 6e 74 | 0 && Sc|oreCount|
|000018e0| 44 6f 77 6e 20 3c 20 39 | 29 0d 0a 09 09 20 20 20 |Down < 9|).... |
|000018f0| 20 42 72 6f 61 64 63 61 | 73 74 4c 6f 63 61 6c 69 | Broadca|stLocali|
|00001900| 7a 65 64 4d 65 73 73 61 | 67 65 28 63 6c 61 73 73 |zedMessa|ge(class|
|00001910| 27 54 69 6d 65 72 4d 65 | 73 73 61 67 65 27 2c 20 |'TimerMe|ssage', |
|00001920| 53 63 6f 72 65 43 6f 75 | 6e 74 44 6f 77 6e 20 29 |ScoreCou|ntDown )|
|00001930| 3b 0d 0a 0d 0a 09 09 69 | 66 20 28 53 63 6f 72 65 |;......i|f (Score|
|00001940| 43 6f 75 6e 74 44 6f 77 | 6e 20 3e 20 30 29 0d 0a |CountDow|n > 0)..|
|00001950| 20 20 20 20 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 | |{.. |
|00001960| 20 20 20 20 20 20 20 2f | 2f 20 64 65 63 72 65 6d | /|/ decrem|
|00001970| 65 6e 74 20 74 68 65 20 | 74 69 6d 65 20 72 65 6d |ent the |time rem|
|00001980| 61 69 6e 69 6e 67 20 75 | 6e 74 69 6c 20 61 20 70 |aining u|ntil a p|
|00001990| 6f 69 6e 74 20 69 73 20 | 73 63 6f 72 65 64 0d 0a |oint is |scored..|
|000019a0| 09 20 20 20 20 20 20 20 | 20 53 63 6f 72 65 43 6f |. | ScoreCo|
|000019b0| 75 6e 74 44 6f 77 6e 2d | 2d 3b 0d 0a 20 20 20 20 |untDown-|-;.. |
|000019c0| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 3b 0d | |return;.|
|000019d0| 0a 20 20 20 20 20 20 20 | 20 7d 0d 0a 0d 0a 09 09 |. | }......|
|000019e0| 66 6f 72 20 28 54 65 61 | 6d 4d 61 74 65 20 3d 20 |for (Tea|mMate = |
|000019f0| 4c 65 76 65 6c 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |Level.Co|ntroller|
|00001a00| 4c 69 73 74 3b 20 54 65 | 61 6d 4d 61 74 65 20 21 |List; Te|amMate !|
|00001a10| 3d 20 4e 6f 6e 65 3b 20 | 54 65 61 6d 4d 61 74 65 |= None; |TeamMate|
|00001a20| 20 3d 20 54 65 61 6d 4d | 61 74 65 2e 4e 65 78 74 | = TeamM|ate.Next|
|00001a30| 43 6f 6e 74 72 6f 6c 6c | 65 72 29 0d 0a 20 20 20 |Controll|er).. |
|00001a40| 20 20 20 20 20 7b 0d 0a | 09 09 09 69 66 20 28 54 | {..|...if (T|
|00001a50| 65 61 6d 4d 61 74 65 2e | 49 73 41 28 27 50 6c 61 |eamMate.|IsA('Pla|
|00001a60| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 27 29 29 |yerContr|oller'))|
|00001a70| 0d 0a 09 09 09 7b 0d 0a | 09 09 09 09 50 6c 61 79 |.....{..|....Play|
|00001a80| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 54 65 61 |erContro|ller(Tea|
|00001a90| 6d 4d 61 74 65 29 2e 50 | 6c 61 79 53 74 61 74 75 |mMate).P|layStatu|
|00001aa0| 73 41 6e 6e 6f 75 6e 63 | 65 6d 65 6e 74 28 53 63 |sAnnounc|ement(Sc|
|00001ab0| 6f 72 65 53 6f 75 6e 64 | 4e 61 6d 65 73 5b 78 44 |oreSound|Names[xD|
|00001ac0| 6f 6d 50 6f 69 6e 74 73 | 5b 30 5d 2e 43 6f 6e 74 |omPoints|[0].Cont|
|00001ad0| 72 6f 6c 6c 69 6e 67 54 | 65 61 6d 2e 54 65 61 6d |rollingT|eam.Team|
|00001ae0| 49 6e 64 65 78 5d 2c 31 | 2c 74 72 75 65 29 3b 0d |Index],1|,true);.|
|00001af0| 0a 09 09 09 09 50 6c 61 | 79 65 72 43 6f 6e 74 72 |.....Pla|yerContr|
|00001b00| 6f 6c 6c 65 72 28 54 65 | 61 6d 4d 61 74 65 29 2e |oller(Te|amMate).|
|00001b10| 43 6c 69 65 6e 74 50 6c | 61 79 53 6f 75 6e 64 28 |ClientPl|aySound(|
|00001b20| 63 6c 61 73 73 27 43 54 | 46 4d 65 73 73 61 67 65 |class'CT|FMessage|
|00001b30| 27 2e 44 65 66 61 75 6c | 74 2e 52 69 66 66 73 5b |'.Defaul|t.Riffs[|
|00001b40| 52 61 6e 64 28 33 29 5d | 29 3b 0d 0a 09 09 09 7d |Rand(3)]|);.....}|
|00001b50| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 0d 0a 09 |.. | }.....|
|00001b60| 09 2f 2f 20 63 6f 6e 74 | 72 6f 6c 6c 69 6e 67 20 |.// cont|rolling |
|00001b70| 74 65 61 6d 20 68 61 73 | 20 73 63 6f 72 65 64 21 |team has| scored!|
|00001b80| 0d 0a 20 20 20 20 20 20 | 20 20 78 44 6f 6d 50 6f |.. | xDomPo|
|00001b90| 69 6e 74 73 5b 30 5d 2e | 43 6f 6e 74 72 6f 6c 6c |ints[0].|Controll|
|00001ba0| 69 6e 67 54 65 61 6d 2e | 53 63 6f 72 65 20 2b 3d |ingTeam.|Score +=|
|00001bb0| 20 31 2e 30 3b 0d 0a 09 | 09 78 44 6f 6d 50 6f 69 | 1.0;...|.xDomPoi|
|00001bc0| 6e 74 73 5b 30 5d 2e 43 | 6f 6e 74 72 6f 6c 6c 69 |nts[0].C|ontrolli|
|00001bd0| 6e 67 54 65 61 6d 2e 4e | 65 74 55 70 64 61 74 65 |ngTeam.N|etUpdate|
|00001be0| 54 69 6d 65 20 3d 20 4c | 65 76 65 6c 2e 54 69 6d |Time = L|evel.Tim|
|00001bf0| 65 53 65 63 6f 6e 64 73 | 20 2d 20 31 3b 0d 0a 0d |eSeconds| - 1;...|
|00001c00| 0a 09 09 54 65 61 6d 53 | 63 6f 72 65 45 76 65 6e |...TeamS|coreEven|
|00001c10| 74 28 78 44 6f 6d 50 6f | 69 6e 74 73 5b 30 5d 2e |t(xDomPo|ints[0].|
|00001c20| 43 6f 6e 74 72 6f 6c 6c | 69 6e 67 54 65 61 6d 2e |Controll|ingTeam.|
|00001c30| 54 65 61 6d 49 6e 64 65 | 78 2c 31 2c 22 64 6f 6d |TeamInde|x,1,"dom|
|00001c40| 5f 74 65 61 6d 73 63 6f | 72 65 22 29 3b 0d 0a 20 |_teamsco|re");.. |
|00001c50| 20 20 20 20 20 20 20 2f | 2f 20 61 77 61 72 64 20 | /|/ award |
|00001c60| 73 63 6f 72 69 6e 67 20 | 70 6c 61 79 65 72 73 20 |scoring |players |
|00001c70| 73 6f 6d 65 20 41 64 72 | 65 6e 61 6c 69 6e 65 20 |some Adr|enaline |
|00001c80| 61 6e 64 20 69 6e 63 72 | 65 61 73 65 20 74 68 65 |and incr|ease the|
|00001c90| 69 72 20 73 63 6f 72 65 | 0d 0a 09 09 69 66 20 28 |ir score|....if (|
|00001ca0| 20 28 78 44 6f 6d 50 6f | 69 6e 74 73 5b 30 5d 2e | (xDomPo|ints[0].|
|00001cb0| 43 6f 6e 74 72 6f 6c 6c | 69 6e 67 50 61 77 6e 20 |Controll|ingPawn |
|00001cc0| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 28 78 44 6f |!= None)| && (xDo|
|00001cd0| 6d 50 6f 69 6e 74 73 5b | 30 5d 2e 43 6f 6e 74 72 |mPoints[|0].Contr|
|00001ce0| 6f 6c 6c 69 6e 67 50 61 | 77 6e 2e 43 6f 6e 74 72 |ollingPa|wn.Contr|
|00001cf0| 6f 6c 6c 65 72 20 21 3d | 20 4e 6f 6e 65 29 20 29 |oller !=| None) )|
|00001d00| 0d 0a 20 20 20 20 20 20 | 20 20 7b 0d 0a 20 20 20 |.. | {.. |
|00001d10| 20 20 20 20 20 20 20 20 | 20 78 44 6f 6d 50 6f 69 | | xDomPoi|
|00001d20| 6e 74 73 5b 30 5d 2e 43 | 6f 6e 74 72 6f 6c 6c 69 |nts[0].C|ontrolli|
|00001d30| 6e 67 50 61 77 6e 2e 43 | 6f 6e 74 72 6f 6c 6c 65 |ngPawn.C|ontrolle|
|00001d40| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001d50| 69 6f 6e 49 6e 66 6f 2e | 53 63 6f 72 65 20 2b 3d |ionInfo.|Score +=|
|00001d60| 20 35 2e 30 3b 0d 0a 09 | 09 09 78 44 6f 6d 50 6f | 5.0;...|..xDomPo|
|00001d70| 69 6e 74 73 5b 30 5d 2e | 43 6f 6e 74 72 6f 6c 6c |ints[0].|Controll|
|00001d80| 69 6e 67 50 61 77 6e 2e | 43 6f 6e 74 72 6f 6c 6c |ingPawn.|Controll|
|00001d90| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00001da0| 74 69 6f 6e 49 6e 66 6f | 2e 4e 65 74 55 70 64 61 |tionInfo|.NetUpda|
|00001db0| 74 65 54 69 6d 65 20 3d | 20 4c 65 76 65 6c 2e 54 |teTime =| Level.T|
|00001dc0| 69 6d 65 53 65 63 6f 6e | 64 73 20 2d 20 31 3b 0d |imeSecon|ds - 1;.|
|00001dd0| 0a 09 09 20 20 20 20 78 | 44 6f 6d 50 6f 69 6e 74 |... x|DomPoint|
|00001de0| 73 5b 30 5d 2e 43 6f 6e | 74 72 6f 6c 6c 69 6e 67 |s[0].Con|trolling|
|00001df0| 50 61 77 6e 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 2e |Pawn.Con|troller.|
|00001e00| 41 77 61 72 64 41 64 72 | 65 6e 61 6c 69 6e 65 28 |AwardAdr|enaline(|
|00001e10| 41 44 52 5f 47 6f 61 6c | 29 3b 0d 0a 09 09 09 53 |ADR_Goal|);.....S|
|00001e20| 63 6f 72 65 45 76 65 6e | 74 28 78 44 6f 6d 50 6f |coreEven|t(xDomPo|
|00001e30| 69 6e 74 73 5b 30 5d 2e | 43 6f 6e 74 72 6f 6c 6c |ints[0].|Controll|
|00001e40| 69 6e 67 50 61 77 6e 2e | 43 6f 6e 74 72 6f 6c 6c |ingPawn.|Controll|
|00001e50| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00001e60| 74 69 6f 6e 49 6e 66 6f | 2c 35 2c 22 64 6f 6d 5f |tionInfo|,5,"dom_|
|00001e70| 73 63 6f 72 65 22 29 3b | 0d 0a 20 20 20 20 20 20 |score");|.. |
|00001e80| 20 20 7d 0d 0a 0d 0a 09 | 09 69 66 20 28 20 28 78 | }.....|.if ( (x|
|00001e90| 44 6f 6d 50 6f 69 6e 74 | 73 5b 31 5d 2e 43 6f 6e |DomPoint|s[1].Con|
|00001ea0| 74 72 6f 6c 6c 69 6e 67 | 50 61 77 6e 20 21 3d 20 |trolling|Pawn != |
|00001eb0| 4e 6f 6e 65 29 20 26 26 | 20 28 78 44 6f 6d 50 6f |None) &&| (xDomPo|
|00001ec0| 69 6e 74 73 5b 31 5d 2e | 43 6f 6e 74 72 6f 6c 6c |ints[1].|Controll|
|00001ed0| 69 6e 67 50 61 77 6e 2e | 43 6f 6e 74 72 6f 6c 6c |ingPawn.|Controll|
|00001ee0| 65 72 20 21 3d 20 4e 6f | 6e 65 29 20 29 0d 0a 20 |er != No|ne) ).. |
|00001ef0| 20 20 20 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 | {|.. |
|00001f00| 20 20 20 20 20 20 78 44 | 6f 6d 50 6f 69 6e 74 73 | xD|omPoints|
|00001f10| 5b 31 5d 2e 43 6f 6e 74 | 72 6f 6c 6c 69 6e 67 50 |[1].Cont|rollingP|
|00001f20| 61 77 6e 2e 43 6f 6e 74 | 72 6f 6c 6c 65 72 2e 50 |awn.Cont|roller.P|
|00001f30| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00001f40| 49 6e 66 6f 2e 53 63 6f | 72 65 20 2b 3d 20 35 2e |Info.Sco|re += 5.|
|00001f50| 30 3b 0d 0a 09 09 09 78 | 44 6f 6d 50 6f 69 6e 74 |0;.....x|DomPoint|
|00001f60| 73 5b 31 5d 2e 43 6f 6e | 74 72 6f 6c 6c 69 6e 67 |s[1].Con|trolling|
|00001f70| 50 61 77 6e 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 2e |Pawn.Con|troller.|
|00001f80| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00001f90| 6e 49 6e 66 6f 2e 4e 65 | 74 55 70 64 61 74 65 54 |nInfo.Ne|tUpdateT|
|00001fa0| 69 6d 65 20 3d 20 4c 65 | 76 65 6c 2e 54 69 6d 65 |ime = Le|vel.Time|
|00001fb0| 53 65 63 6f 6e 64 73 20 | 2d 20 31 3b 0d 0a 09 09 |Seconds |- 1;....|
|00001fc0| 20 20 20 20 78 44 6f 6d | 50 6f 69 6e 74 73 5b 31 | xDom|Points[1|
|00001fd0| 5d 2e 43 6f 6e 74 72 6f | 6c 6c 69 6e 67 50 61 77 |].Contro|llingPaw|
|00001fe0| 6e 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 2e 41 77 61 |n.Contro|ller.Awa|
|00001ff0| 72 64 41 64 72 65 6e 61 | 6c 69 6e 65 28 41 44 52 |rdAdrena|line(ADR|
|00002000| 5f 47 6f 61 6c 29 3b 0d | 0a 09 09 09 53 63 6f 72 |_Goal);.|....Scor|
|00002010| 65 45 76 65 6e 74 28 78 | 44 6f 6d 50 6f 69 6e 74 |eEvent(x|DomPoint|
|00002020| 73 5b 31 5d 2e 43 6f 6e | 74 72 6f 6c 6c 69 6e 67 |s[1].Con|trolling|
|00002030| 50 61 77 6e 2e 43 6f 6e | 74 72 6f 6c 6c 65 72 2e |Pawn.Con|troller.|
|00002040| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002050| 6e 49 6e 66 6f 2c 35 2c | 22 64 6f 6d 5f 73 63 6f |nInfo,5,|"dom_sco|
|00002060| 72 65 22 29 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |re");...|. |
|00002070| 20 7d 0d 0a 0d 0a 09 09 | 2f 2f 20 72 65 73 65 74 | }......|// reset|
|00002080| 20 63 6f 75 6e 74 0d 0a | 20 20 20 20 20 20 20 20 | count..| |
|00002090| 53 63 6f 72 65 43 6f 75 | 6e 74 44 6f 77 6e 20 3d |ScoreCou|ntDown =|
|000020a0| 20 54 69 6d 65 54 6f 53 | 63 6f 72 65 3b 0d 0a 0d | TimeToS|core;...|
|000020b0| 0a 09 09 2f 2f 20 6d 61 | 6b 65 20 61 6c 6c 20 63 |...// ma|ke all c|
|000020c0| 6f 6e 74 72 6f 6c 20 70 | 6f 69 6e 74 73 20 62 65 |ontrol p|oints be|
|000020d0| 20 75 6e 74 6f 75 63 68 | 61 62 6c 65 20 66 6f 72 | untouch|able for|
|000020e0| 20 61 20 73 68 6f 72 74 | 20 70 65 72 69 6f 64 0d | a short| period.|
|000020f0| 0a 09 09 44 69 73 61 62 | 6c 65 64 43 6f 75 6e 74 |...Disab|ledCount|
|00002100| 44 6f 77 6e 20 3d 20 54 | 69 6d 65 44 69 73 61 62 |Down = T|imeDisab|
|00002110| 6c 65 64 3b 0d 0a 0d 0a | 09 09 2f 2f 20 72 65 73 |led;....|..// res|
|00002120| 65 74 20 62 6f 74 68 20 | 64 6f 6d 69 6e 61 74 69 |et both |dominati|
|00002130| 6f 6e 20 70 6f 69 6e 74 | 73 20 61 6e 64 20 64 69 |on point|s and di|
|00002140| 73 61 62 6c 65 20 74 68 | 65 6d 0d 0a 09 09 78 44 |sable th|em....xD|
|00002150| 6f 6d 50 6f 69 6e 74 73 | 5b 30 5d 2e 52 65 73 65 |omPoints|[0].Rese|
|00002160| 74 50 6f 69 6e 74 28 66 | 61 6c 73 65 29 3b 0d 0a |tPoint(f|alse);..|
|00002170| 09 09 78 44 6f 6d 50 6f | 69 6e 74 73 5b 31 5d 2e |..xDomPo|ints[1].|
|00002180| 52 65 73 65 74 50 6f 69 | 6e 74 28 66 61 6c 73 65 |ResetPoi|nt(false|
|00002190| 29 3b 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 2f 2f |);.... | //|
|000021a0| 20 63 68 65 63 6b 20 69 | 66 20 74 68 65 20 67 61 | check i|f the ga|
|000021b0| 6d 65 20 69 73 20 6f 76 | 65 72 20 62 65 63 61 75 |me is ov|er becau|
|000021c0| 73 65 20 65 69 74 68 65 | 72 20 74 65 61 6d 20 68 |se eithe|r team h|
|000021d0| 61 73 20 61 63 68 69 65 | 76 65 64 20 74 68 65 20 |as achie|ved the |
|000021e0| 67 6f 61 6c 20 6c 69 6d | 69 74 0d 0a 20 20 20 20 |goal lim|it.. |
|000021f0| 20 20 20 20 69 66 20 28 | 20 47 6f 61 6c 53 63 6f | if (| GoalSco|
|00002200| 72 65 20 3e 20 30 20 29 | 0d 0a 20 20 20 20 20 20 |re > 0 )|.. |
|00002210| 20 20 7b 0d 0a 09 09 20 | 20 20 20 66 6f 72 20 28 | {.... | for (|
|00002220| 69 20 3d 20 30 3b 20 69 | 20 3c 20 32 3b 20 69 2b |i = 0; i| < 2; i+|
|00002230| 2b 20 29 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |+ ).. | |
|00002240| 20 7b 0d 0a 09 09 09 20 | 20 20 20 69 66 20 28 20 | {..... | if ( |
|00002250| 54 65 61 6d 73 5b 69 5d | 2e 53 63 6f 72 65 20 3e |Teams[i]|.Score >|
|00002260| 3d 20 47 6f 61 6c 53 63 | 6f 72 65 20 29 0d 0a 20 |= GoalSc|ore ).. |
|00002270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7b | | {|
|00002280| 0d 0a 09 09 09 09 20 20 | 20 20 45 6e 64 47 61 6d |...... | EndGam|
|00002290| 65 28 4e 6f 6e 65 2c 22 | 74 65 61 6d 73 63 6f 72 |e(None,"|teamscor|
|000022a0| 65 6c 69 6d 69 74 22 29 | 3b 0d 0a 20 20 20 20 20 |elimit")|;.. |
|000022b0| 20 20 20 20 20 20 20 20 | 20 20 20 7d 0d 0a 20 20 | | }.. |
|000022c0| 20 20 20 20 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 | | }.. |
|000022d0| 20 20 20 20 20 7d 0d 0a | 20 20 20 20 7d 0d 0a 7d | }..| }..}|
|000022e0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 43 6c 65 |....func|tion Cle|
|000022f0| 61 72 43 6f 6e 74 72 6f | 6c 28 43 6f 6e 74 72 6f |arContro|l(Contro|
|00002300| 6c 6c 65 72 20 4f 74 68 | 65 72 29 0d 0a 7b 0d 0a |ller Oth|er)..{..|
|00002310| 20 20 20 20 6c 6f 63 61 | 6c 20 43 6f 6e 74 72 6f | loca|l Contro|
|00002320| 6c 6c 65 72 20 50 3b 0d | 0a 09 6c 6f 63 61 6c 20 |ller P;.|..local |
|00002330| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00002340| 20 50 6c 61 79 65 72 3b | 0d 0a 20 20 20 20 6c 6f | Player;|.. lo|
|00002350| 63 61 6c 20 50 61 77 6e | 20 50 69 63 6b 3b 0d 0a |cal Pawn| Pick;..|
|00002360| 0d 0a 09 69 66 20 28 20 | 28 50 6c 61 79 65 72 43 |...if ( |(PlayerC|
|00002370| 6f 6e 74 72 6f 6c 6c 65 | 72 28 4f 74 68 65 72 29 |ontrolle|r(Other)|
|00002380| 20 3d 3d 20 4e 6f 6e 65 | 29 20 7c 7c 20 28 4f 74 | == None|) || (Ot|
|00002390| 68 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |her.Play|erReplic|
|000023a0| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 2e 54 |ationInf|o.Team.T|
|000023b0| 65 61 6d 49 6e 64 65 78 | 20 3d 3d 20 32 35 35 29 |eamIndex| == 255)|
|000023c0| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 3b 0d 0a 0d | )....re|turn;...|
|000023d0| 0a 09 69 66 20 28 20 28 | 78 44 6f 6d 50 6f 69 6e |..if ( (|xDomPoin|
|000023e0| 74 73 5b 30 5d 2e 43 6f | 6e 74 72 6f 6c 6c 69 6e |ts[0].Co|ntrollin|
|000023f0| 67 50 61 77 6e 20 21 3d | 20 4f 74 68 65 72 29 20 |gPawn !=| Other) |
|00002400| 26 26 20 28 78 44 6f 6d | 50 6f 69 6e 74 73 5b 31 |&& (xDom|Points[1|
|00002410| 5d 2e 43 6f 6e 74 72 6f | 6c 6c 69 6e 67 50 61 77 |].Contro|llingPaw|
|00002420| 6e 20 21 3d 20 4f 74 68 | 65 72 29 20 29 0d 0a 20 |n != Oth|er) ).. |
|00002430| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 3b 0d 0a | r|eturn;..|
|00002440| 0d 0a 20 20 20 20 2f 2f | 20 66 69 6e 64 20 61 20 |.. //| find a |
|00002450| 73 75 69 74 61 62 6c 65 | 20 74 65 61 6d 6d 61 74 |suitable| teammat|
|00002460| 65 0d 0a 09 66 6f 72 28 | 20 50 3d 4c 65 76 65 6c |e...for(| P=Level|
|00002470| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 4c 69 73 74 3b |.Control|lerList;|
|00002480| 20 50 21 3d 4e 6f 6e 65 | 3b 20 50 3d 50 2e 6e 65 | P!=None|; P=P.ne|
|00002490| 78 74 43 6f 6e 74 72 6f | 6c 6c 65 72 20 29 0d 0a |xtContro|ller )..|
|000024a0| 09 7b 0d 0a 09 09 50 6c | 61 79 65 72 20 3d 20 50 |.{....Pl|ayer = P|
|000024b0| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 28 |layerCon|troller(|
|000024c0| 50 29 3b 0d 0a 0d 0a 09 | 09 69 66 20 28 20 28 50 |P);.....|.if ( (P|
|000024d0| 6c 61 79 65 72 20 21 3d | 20 4e 6f 6e 65 29 20 26 |layer !=| None) &|
|000024e0| 26 20 28 50 6c 61 79 65 | 72 20 21 3d 20 4f 74 68 |& (Playe|r != Oth|
|000024f0| 65 72 29 20 26 26 20 28 | 50 6c 61 79 65 72 2e 50 |er) && (|Player.P|
|00002500| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00002510| 49 6e 66 6f 2e 54 65 61 | 6d 20 3d 3d 20 4f 74 68 |Info.Tea|m == Oth|
|00002520| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00002530| 74 69 6f 6e 49 6e 66 6f | 2e 54 65 61 6d 29 20 29 |tionInfo|.Team) )|
|00002540| 0d 0a 09 09 7b 0d 0a 09 | 09 09 50 69 63 6b 20 3d |....{...|..Pick =|
|00002550| 20 50 6c 61 79 65 72 2e | 50 61 77 6e 3b 0d 0a 20 | Player.|Pawn;.. |
|00002560| 20 20 20 20 20 20 20 20 | 20 20 20 62 72 65 61 6b | | break|
|00002570| 3b 0d 0a 09 09 7d 0d 0a | 09 7d 0d 0a 0d 0a 20 20 |;....}..|.}.... |
|00002580| 20 20 2f 2f 20 75 70 64 | 61 74 65 20 62 6f 74 68 | // upd|ate both|
|00002590| 20 63 6f 6e 74 72 6f 6c | 20 70 6f 69 6e 74 73 20 | control| points |
|000025a0| 77 69 74 68 20 74 68 65 | 20 6e 65 77 20 63 6f 6e |with the| new con|
|000025b0| 74 72 6f 6c 6c 69 6e 67 | 20 70 61 77 6e 2c 20 73 |trolling| pawn, s|
|000025c0| 69 6e 63 65 20 74 68 65 | 20 6f 74 68 65 72 20 6f |ince the| other o|
|000025d0| 6e 65 20 69 73 20 6c 65 | 61 76 69 6e 67 20 28 69 |ne is le|aving (i|
|000025e0| 66 20 6e 6f 20 6f 74 68 | 65 72 20 73 75 69 74 61 |f no oth|er suita|
|000025f0| 62 6c 65 0d 0a 20 20 20 | 20 2f 2f 20 74 65 61 6d |ble.. | // team|
|00002600| 6d 61 74 65 20 77 61 73 | 20 66 6f 75 6e 64 2c 20 |mate was| found, |
|00002610| 74 68 65 6e 20 74 68 65 | 20 70 6f 69 6e 74 20 77 |then the| point w|
|00002620| 69 6c 6c 20 72 65 74 75 | 72 6e 20 74 6f 20 6e 65 |ill retu|rn to ne|
|00002630| 75 74 72 61 6c 29 0d 0a | 20 20 20 20 69 66 20 28 |utral)..| if (|
|00002640| 78 44 6f 6d 50 6f 69 6e | 74 73 5b 30 5d 2e 43 6f |xDomPoin|ts[0].Co|
|00002650| 6e 74 72 6f 6c 6c 69 6e | 67 50 61 77 6e 20 3d 3d |ntrollin|gPawn ==|
|00002660| 20 4f 74 68 65 72 29 0d | 0a 09 7b 0d 0a 09 09 78 | Other).|..{....x|
|00002670| 44 6f 6d 50 6f 69 6e 74 | 73 5b 30 5d 2e 43 6f 6e |DomPoint|s[0].Con|
|00002680| 74 72 6f 6c 6c 69 6e 67 | 50 61 77 6e 20 3d 20 50 |trolling|Pawn = P|
|00002690| 69 63 6b 3b 0d 0a 09 09 | 78 44 6f 6d 50 6f 69 6e |ick;....|xDomPoin|
|000026a0| 74 73 5b 30 5d 2e 55 70 | 64 61 74 65 53 74 61 74 |ts[0].Up|dateStat|
|000026b0| 75 73 28 29 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 69 66 |us();...|}.....if|
|000026c0| 20 28 78 44 6f 6d 50 6f | 69 6e 74 73 5b 31 5d 2e | (xDomPo|ints[1].|
|000026d0| 43 6f 6e 74 72 6f 6c 6c | 69 6e 67 50 61 77 6e 20 |Controll|ingPawn |
|000026e0| 3d 3d 20 4f 74 68 65 72 | 29 0d 0a 09 7b 0d 0a 09 |== Other|)...{...|
|000026f0| 09 78 44 6f 6d 50 6f 69 | 6e 74 73 5b 31 5d 2e 43 |.xDomPoi|nts[1].C|
|00002700| 6f 6e 74 72 6f 6c 6c 69 | 6e 67 50 61 77 6e 20 3d |ontrolli|ngPawn =|
|00002710| 20 50 69 63 6b 3b 0d 0a | 09 09 78 44 6f 6d 50 6f | Pick;..|..xDomPo|
|00002720| 69 6e 74 73 5b 31 5d 2e | 55 70 64 61 74 65 53 74 |ints[1].|UpdateSt|
|00002730| 61 74 75 73 28 29 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |atus();.|..}..}..|
|00002740| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 4c 6f 67 6f 75 |..functi|on Logou|
|00002750| 74 28 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 45 78 |t( Contr|oller Ex|
|00002760| 69 74 69 6e 67 20 29 0d | 0a 7b 0d 0a 20 20 20 20 |iting ).|.{.. |
|00002770| 43 6c 65 61 72 43 6f 6e | 74 72 6f 6c 28 45 78 69 |ClearCon|trol(Exi|
|00002780| 74 69 6e 67 29 3b 0d 0a | 20 20 20 20 53 75 70 65 |ting);..| Supe|
|00002790| 72 2e 4c 6f 67 6f 75 74 | 28 45 78 69 74 69 6e 67 |r.Logout|(Exiting|
|000027a0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|000027b0| 6e 20 52 65 73 65 74 43 | 6f 75 6e 74 28 29 0d 0a |n ResetC|ount()..|
|000027c0| 7b 0d 0a 20 20 20 20 6c | 6f 63 61 6c 20 6e 61 6d |{.. l|ocal nam|
|000027d0| 65 20 41 76 65 72 73 69 | 6f 6e 3b 0d 0a 09 6c 6f |e Aversi|on;...lo|
|000027e0| 63 61 6c 20 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 54 |cal Cont|roller T|
|000027f0| 65 61 6d 4d 61 74 65 3b | 0d 0a 0d 0a 20 20 20 20 |eamMate;|.... |
|00002800| 69 66 20 28 20 53 63 6f | 72 65 43 6f 75 6e 74 44 |if ( Sco|reCountD|
|00002810| 6f 77 6e 20 3c 20 54 69 | 6d 65 54 6f 53 63 6f 72 |own < Ti|meToScor|
|00002820| 65 20 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |e ).. | {.. |
|00002830| 20 20 20 20 41 76 65 72 | 73 69 6f 6e 20 3d 20 41 | Aver|sion = A|
|00002840| 76 65 72 74 65 64 53 6f | 75 6e 64 4e 61 6d 65 73 |vertedSo|undNames|
|00002850| 5b 31 5d 3b 0d 0a 20 20 | 20 20 20 20 20 20 69 66 |[1];.. | if|
|00002860| 20 28 54 69 6d 65 54 6f | 53 63 6f 72 65 20 2d 20 | (TimeTo|Score - |
|00002870| 53 63 6f 72 65 43 6f 75 | 6e 74 44 6f 77 6e 20 3e |ScoreCou|ntDown >|
|00002880| 20 28 54 69 6d 65 54 6f | 53 63 6f 72 65 2f 32 29 | (TimeTo|Score/2)|
|00002890| 29 0d 0a 20 20 20 20 20 | 20 20 20 7b 0d 0a 20 20 |).. | {.. |
|000028a0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 54 69 | | if (Ti|
|000028b0| 6d 65 54 6f 53 63 6f 72 | 65 20 2d 20 53 63 6f 72 |meToScor|e - Scor|
|000028c0| 65 43 6f 75 6e 74 44 6f | 77 6e 20 3e 3d 20 28 54 |eCountDo|wn >= (T|
|000028d0| 69 6d 65 54 6f 53 63 6f | 72 65 2d 31 29 29 0d 0a |imeToSco|re-1))..|
|000028e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 0d 0a 20 | | {.. |
|000028f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f | | /|
|00002900| 2f 20 77 69 74 68 69 6e | 20 6f 6e 65 20 73 65 63 |/ within| one sec|
|00002910| 6f 6e 64 20 6f 66 20 61 | 20 73 63 6f 72 65 0d 0a |ond of a| score..|
|00002920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002930| 41 76 65 72 73 69 6f 6e | 20 3d 20 41 76 65 72 74 |Aversion| = Avert|
|00002940| 65 64 53 6f 75 6e 64 4e | 61 6d 65 73 5b 33 5d 3b |edSoundN|ames[3];|
|00002950| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 7d 0d |.. | }.|
|00002960| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 65 6c 73 |. | els|
|00002970| 65 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 7b |e.. | {|
|00002980| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002990| 20 20 2f 2f 20 68 61 6c | 66 77 61 79 20 74 6f 20 | // hal|fway to |
|000029a0| 61 20 73 63 6f 72 65 0d | 0a 20 20 20 20 20 20 20 |a score.|. |
|000029b0| 20 20 20 20 20 20 20 20 | 20 41 76 65 72 73 69 6f | | Aversio|
|000029c0| 6e 20 3d 20 41 76 65 72 | 74 65 64 53 6f 75 6e 64 |n = Aver|tedSound|
|000029d0| 4e 61 6d 65 73 5b 32 5d | 3b 0d 0a 20 20 20 20 20 |Names[2]|;.. |
|000029e0| 20 20 20 20 20 20 20 7d | 0d 0a 20 20 20 20 20 20 | }|.. |
|000029f0| 20 20 7d 0d 0a 20 20 20 | 20 20 20 20 20 65 6c 73 | }.. | els|
|00002a00| 65 20 69 66 20 28 20 54 | 69 6d 65 54 6f 53 63 6f |e if ( T|imeToSco|
|00002a10| 72 65 20 2d 20 53 63 6f | 72 65 43 6f 75 6e 74 44 |re - Sco|reCountD|
|00002a20| 6f 77 6e 20 3c 20 32 20 | 29 0d 0a 20 20 20 20 20 |own < 2 |).. |
|00002a30| 20 20 20 7b 0d 0a 09 09 | 09 66 6f 72 20 28 54 65 | {....|.for (Te|
|00002a40| 61 6d 4d 61 74 65 20 3d | 20 4c 65 76 65 6c 2e 43 |amMate =| Level.C|
|00002a50| 6f 6e 74 72 6f 6c 6c 65 | 72 4c 69 73 74 3b 20 54 |ontrolle|rList; T|
|00002a60| 65 61 6d 4d 61 74 65 20 | 21 3d 20 4e 6f 6e 65 3b |eamMate |!= None;|
|00002a70| 20 54 65 61 6d 4d 61 74 | 65 20 3d 20 54 65 61 6d | TeamMat|e = Team|
|00002a80| 4d 61 74 65 2e 4e 65 78 | 74 43 6f 6e 74 72 6f 6c |Mate.Nex|tControl|
|00002a90| 6c 65 72 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |ler)....|.{......|
|00002aa0| 69 66 20 28 54 65 61 6d | 4d 61 74 65 2e 49 73 41 |if (Team|Mate.IsA|
|00002ab0| 28 27 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |('Player|Controll|
|00002ac0| 65 72 27 29 29 0d 0a 09 | 09 09 09 09 50 6c 61 79 |er'))...|....Play|
|00002ad0| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 54 65 61 |erContro|ller(Tea|
|00002ae0| 6d 4d 61 74 65 29 2e 50 | 6c 61 79 41 6e 6e 6f 75 |mMate).P|layAnnou|
|00002af0| 6e 63 65 6d 65 6e 74 28 | 53 6f 75 6e 64 27 47 61 |ncement(|Sound'Ga|
|00002b00| 6d 65 53 6f 75 6e 64 73 | 2e 44 44 41 76 65 72 74 |meSounds|.DDAvert|
|00002b10| 65 64 27 2c 32 2c 74 72 | 75 65 29 3b 0d 0a 09 09 |ed',2,tr|ue);....|
|00002b20| 09 7d 0d 0a 09 09 20 20 | 20 20 53 63 6f 72 65 43 |.}.... | ScoreC|
|00002b30| 6f 75 6e 74 44 6f 77 6e | 20 3d 20 54 69 6d 65 54 |ountDown| = TimeT|
|00002b40| 6f 53 63 6f 72 65 3b 0d | 0a 09 09 09 72 65 74 75 |oScore;.|....retu|
|00002b50| 72 6e 3b 0d 0a 09 09 7d | 0d 0a 0d 0a 20 20 20 20 |rn;....}|.... |
|00002b60| 20 20 20 20 66 6f 72 20 | 28 54 65 61 6d 4d 61 74 | for |(TeamMat|
|00002b70| 65 20 3d 20 4c 65 76 65 | 6c 2e 43 6f 6e 74 72 6f |e = Leve|l.Contro|
|00002b80| 6c 6c 65 72 4c 69 73 74 | 3b 20 54 65 61 6d 4d 61 |llerList|; TeamMa|
|00002b90| 74 65 20 21 3d 20 4e 6f | 6e 65 3b 20 54 65 61 6d |te != No|ne; Team|
|00002ba0| 4d 61 74 65 20 3d 20 54 | 65 61 6d 4d 61 74 65 2e |Mate = T|eamMate.|
|00002bb0| 4e 65 78 74 43 6f 6e 74 | 72 6f 6c 6c 65 72 29 0d |NextCont|roller).|
|00002bc0| 0a 20 20 20 20 20 20 20 | 20 7b 0d 0a 09 09 09 69 |. | {.....i|
|00002bd0| 66 20 28 54 65 61 6d 4d | 61 74 65 2e 49 73 41 28 |f (TeamM|ate.IsA(|
|00002be0| 27 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |'PlayerC|ontrolle|
|00002bf0| 72 27 29 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |r')).. | |
|00002c00| 20 20 20 20 20 20 50 6c | 61 79 65 72 43 6f 6e 74 | Pl|ayerCont|
|00002c10| 72 6f 6c 6c 65 72 28 54 | 65 61 6d 4d 61 74 65 29 |roller(T|eamMate)|
|00002c20| 2e 50 6c 61 79 53 74 61 | 74 75 73 41 6e 6e 6f 75 |.PlaySta|tusAnnou|
|00002c30| 6e 63 65 6d 65 6e 74 28 | 41 76 65 72 73 69 6f 6e |ncement(|Aversion|
|00002c40| 2c 32 2c 74 72 75 65 29 | 3b 0d 0a 20 20 20 20 20 |,2,true)|;.. |
|00002c50| 20 20 20 7d 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 20 | }.. | }.... |
|00002c60| 20 20 20 53 63 6f 72 65 | 43 6f 75 6e 74 44 6f 77 | Score|CountDow|
|00002c70| 6e 20 3d 20 54 69 6d 65 | 54 6f 53 63 6f 72 65 3b |n = Time|ToScore;|
|00002c80| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00002c90| 62 6f 6f 6c 20 43 72 69 | 74 69 63 61 6c 50 6c 61 |bool Cri|ticalPla|
|00002ca0| 79 65 72 28 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 4f |yer(Cont|roller O|
|00002cb0| 74 68 65 72 29 0d 0a 7b | 0d 0a 09 2f 2f 20 49 6e |ther)..{|...// In|
|00002cc0| 20 44 4f 4d 2c 20 63 72 | 69 74 69 63 61 6c 20 70 | DOM, cr|itical p|
|00002cd0| 6c 61 79 65 72 73 20 61 | 72 65 20 61 6e 79 6f 6e |layers a|re anyon|
|00002ce0| 65 20 77 69 74 68 69 6e | 20 31 30 32 34 20 75 6e |e within| 1024 un|
|00002cf0| 69 74 73 20 6f 66 20 74 | 68 65 20 64 6f 6d 20 70 |its of t|he dom p|
|00002d00| 6f 69 6e 74 0d 0a 09 2f | 2f 20 77 68 6f 20 68 61 |oint.../|/ who ha|
|00002d10| 76 65 20 6c 6f 73 20 74 | 6f 20 69 74 2e 0d 0a 0d |ve los t|o it....|
|00002d20| 0a 09 69 66 20 28 20 28 | 76 73 69 7a 65 28 4f 74 |..if ( (|vsize(Ot|
|00002d30| 68 65 72 2e 50 61 77 6e | 2e 4c 6f 63 61 74 69 6f |her.Pawn|.Locatio|
|00002d40| 6e 20 2d 20 78 44 6f 6d | 50 6f 69 6e 74 73 5b 30 |n - xDom|Points[0|
|00002d50| 5d 2e 4c 6f 63 61 74 69 | 6f 6e 29 20 3c 3d 31 30 |].Locati|on) <=10|
|00002d60| 32 34 29 20 7c 7c 0d 0a | 09 20 20 20 20 20 28 76 |24) ||..|. (v|
|00002d70| 73 69 7a 65 28 4f 74 68 | 65 72 2e 50 61 77 6e 2e |size(Oth|er.Pawn.|
|00002d80| 4c 6f 63 61 74 69 6f 6e | 20 2d 20 78 44 6f 6d 50 |Location| - xDomP|
|00002d90| 6f 69 6e 74 73 5b 31 5d | 2e 4c 6f 63 61 74 69 6f |oints[1]|.Locatio|
|00002da0| 6e 29 20 3c 3d 31 30 32 | 34 29 20 29 0d 0a 09 09 |n) <=102|4) )....|
|00002db0| 72 65 74 75 72 6e 20 74 | 72 75 65 3b 0d 0a 0d 0a |return t|rue;....|
|00002dc0| 09 72 65 74 75 72 6e 20 | 53 75 70 65 72 2e 43 72 |.return |Super.Cr|
|00002dd0| 69 74 69 63 61 6c 50 6c | 61 79 65 72 28 4f 74 68 |iticalPl|ayer(Oth|
|00002de0| 65 72 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |er);..}.|...funct|
|00002df0| 69 6f 6e 20 4b 69 6c 6c | 65 64 28 20 43 6f 6e 74 |ion Kill|ed( Cont|
|00002e00| 72 6f 6c 6c 65 72 20 4b | 69 6c 6c 65 72 2c 20 43 |roller K|iller, C|
|00002e10| 6f 6e 74 72 6f 6c 6c 65 | 72 20 4b 69 6c 6c 65 64 |ontrolle|r Killed|
|00002e20| 2c 20 50 61 77 6e 20 4b | 69 6c 6c 65 64 50 61 77 |, Pawn K|illedPaw|
|00002e30| 6e 2c 20 63 6c 61 73 73 | 3c 44 61 6d 61 67 65 54 |n, class|<DamageT|
|00002e40| 79 70 65 3e 20 64 61 6d | 61 67 65 54 79 70 65 20 |ype> dam|ageType |
|00002e50| 29 0d 0a 7b 0d 0a 09 69 | 66 20 28 20 28 4b 69 6c |)..{...i|f ( (Kil|
|00002e60| 6c 65 72 20 21 3d 20 4e | 6f 6e 65 29 20 26 26 20 |ler != N|one) && |
|00002e70| 4b 69 6c 6c 65 72 2e 62 | 49 73 50 6c 61 79 65 72 |Killer.b|IsPlayer|
|00002e80| 20 26 26 20 4b 69 6c 6c | 65 64 2e 62 49 73 50 6c | && Kill|ed.bIsPl|
|00002e90| 61 79 65 72 20 26 26 0d | 0a 20 20 20 20 20 20 20 |ayer &&.|. |
|00002ea0| 20 20 28 4b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 | (Kille|r.Player|
|00002eb0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00002ec0| 54 65 61 6d 20 21 3d 20 | 4b 69 6c 6c 65 64 2e 50 |Team != |Killed.P|
|00002ed0| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00002ee0| 49 6e 66 6f 2e 54 65 61 | 6d 29 0d 0a 20 20 20 20 |Info.Tea|m).. |
|00002ef0| 20 20 20 20 20 26 26 20 | 28 78 50 61 77 6e 28 4b | && |(xPawn(K|
|00002f00| 69 6c 6c 65 72 2e 50 61 | 77 6e 29 20 21 3d 20 4e |iller.Pa|wn) != N|
|00002f10| 6f 6e 65 29 20 26 26 20 | 28 44 69 73 61 62 6c 65 |one) && |(Disable|
|00002f20| 64 43 6f 75 6e 74 44 6f | 77 6e 20 3e 20 30 29 29 |dCountDo|wn > 0))|
|00002f30| 0d 0a 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 |.. {.|. |
|00002f40| 20 4b 69 6c 6c 65 72 2e | 41 77 61 72 64 41 64 72 | Killer.|AwardAdr|
|00002f50| 65 6e 61 6c 69 6e 65 28 | 41 44 52 5f 4d 69 6e 6f |enaline(|ADR_Mino|
|00002f60| 72 42 6f 6e 75 73 29 3b | 0d 0a 20 20 20 20 7d 0d |rBonus);|.. }.|
|00002f70| 0a 0d 0a 09 53 75 70 65 | 72 2e 4b 69 6c 6c 65 64 |....Supe|r.Killed|
|00002f80| 28 4b 69 6c 6c 65 72 2c | 20 4b 69 6c 6c 65 64 2c |(Killer,| Killed,|
|00002f90| 20 4b 69 6c 6c 65 64 50 | 61 77 6e 2c 20 64 61 6d | KilledP|awn, dam|
|00002fa0| 61 67 65 54 79 70 65 29 | 3b 0d 0a 7d 0d 0a 0d 0a |ageType)|;..}....|
|00002fb0| 66 75 6e 63 74 69 6f 6e | 20 47 65 74 53 65 72 76 |function| GetServ|
|00002fc0| 65 72 44 65 74 61 69 6c | 73 28 6f 75 74 20 53 65 |erDetail|s(out Se|
|00002fd0| 72 76 65 72 52 65 73 70 | 6f 6e 73 65 4c 69 6e 65 |rverResp|onseLine|
|00002fe0| 20 53 65 72 76 65 72 53 | 74 61 74 65 29 0d 0a 7b | ServerS|tate)..{|
|00002ff0| 0d 0a 09 53 75 70 65 72 | 2e 47 65 74 53 65 72 76 |...Super|.GetServ|
|00003000| 65 72 44 65 74 61 69 6c | 73 28 53 65 72 76 65 72 |erDetail|s(Server|
|00003010| 53 74 61 74 65 29 3b 0d | 0a 09 41 64 64 53 65 72 |State);.|..AddSer|
|00003020| 76 65 72 44 65 74 61 69 | 6c 28 20 53 65 72 76 65 |verDetai|l( Serve|
|00003030| 72 53 74 61 74 65 2c 20 | 22 54 69 6d 65 54 6f 53 |rState, |"TimeToS|
|00003040| 63 6f 72 65 22 2c 20 54 | 69 6d 65 54 6f 53 63 6f |core", T|imeToSco|
|00003050| 72 65 20 29 3b 0d 0a 09 | 41 64 64 53 65 72 76 65 |re );...|AddServe|
|00003060| 72 44 65 74 61 69 6c 28 | 20 53 65 72 76 65 72 53 |rDetail(| ServerS|
|00003070| 74 61 74 65 2c 20 22 54 | 69 6d 65 44 69 73 61 62 |tate, "T|imeDisab|
|00003080| 6c 65 64 22 2c 20 54 69 | 6d 65 44 69 73 61 62 6c |led", Ti|meDisabl|
|00003090| 65 64 20 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 74 61 74 |ed );..}|....stat|
|000030a0| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 46 69 6c 6c |ic funct|ion Fill|
|000030b0| 50 6c 61 79 49 6e 66 6f | 28 50 6c 61 79 49 6e 66 |PlayInfo|(PlayInf|
|000030c0| 6f 20 50 6c 61 79 49 6e | 66 6f 29 0d 0a 7b 0d 0a |o PlayIn|fo)..{..|
|000030d0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 3b 0d 0a 0d |.local i|nt i;...|
|000030e0| 0a 09 53 75 70 65 72 2e | 46 69 6c 6c 50 6c 61 79 |..Super.|FillPlay|
|000030f0| 49 6e 66 6f 28 50 6c 61 | 79 49 6e 66 6f 29 3b 20 |Info(Pla|yInfo); |
|00003100| 20 2f 2f 20 41 6c 77 61 | 79 73 20 62 65 67 69 6e | // Alwa|ys begin|
|00003110| 20 77 69 74 68 20 63 61 | 6c 6c 69 6e 67 20 70 61 | with ca|lling pa|
|00003120| 72 65 6e 74 0d 0a 0d 0a | 09 50 6c 61 79 49 6e 66 |rent....|.PlayInf|
|00003130| 6f 2e 41 64 64 53 65 74 | 74 69 6e 67 28 22 47 61 |o.AddSet|ting("Ga|
|00003140| 6d 65 22 2c 20 22 54 69 | 6d 65 54 6f 53 63 6f 72 |me", "Ti|meToScor|
|00003150| 65 22 2c 20 20 64 65 66 | 61 75 6c 74 2e 44 44 6f |e", def|ault.DDo|
|00003160| 6d 50 72 6f 70 73 44 69 | 73 70 6c 61 79 54 65 78 |mPropsDi|splayTex|
|00003170| 74 5b 69 2b 2b 5d 2c 20 | 34 30 2c 20 31 2c 20 22 |t[i++], |40, 1, "|
|00003180| 54 65 78 74 22 2c 20 22 | 33 3b 30 3a 36 30 22 2c |Text", "|3;0:60",|
|00003190| 2c 2c 54 72 75 65 29 3b | 0d 0a 09 50 6c 61 79 49 |,,True);|...PlayI|
|000031a0| 6e 66 6f 2e 41 64 64 53 | 65 74 74 69 6e 67 28 22 |nfo.AddS|etting("|
|000031b0| 47 61 6d 65 22 2c 20 22 | 54 69 6d 65 44 69 73 61 |Game", "|TimeDisa|
|000031c0| 62 6c 65 64 22 2c 20 64 | 65 66 61 75 6c 74 2e 44 |bled", d|efault.D|
|000031d0| 44 6f 6d 50 72 6f 70 73 | 44 69 73 70 6c 61 79 54 |DomProps|DisplayT|
|000031e0| 65 78 74 5b 69 2b 2b 5d | 2c 20 34 30 2c 20 31 2c |ext[i++]|, 40, 1,|
|000031f0| 20 22 54 65 78 74 22 2c | 20 22 33 3b 30 3a 36 30 | "Text",| "3;0:60|
|00003200| 22 2c 2c 2c 54 72 75 65 | 29 3b 0d 0a 7d 0d 0a 0d |",,,True|);..}...|
|00003210| 0a 73 74 61 74 69 63 20 | 65 76 65 6e 74 20 73 74 |.static |event st|
|00003220| 72 69 6e 67 20 47 65 74 | 44 65 73 63 72 69 70 74 |ring Get|Descript|
|00003230| 69 6f 6e 54 65 78 74 28 | 73 74 72 69 6e 67 20 50 |ionText(|string P|
|00003240| 72 6f 70 4e 61 6d 65 29 | 0d 0a 7b 0d 0a 09 73 77 |ropName)|..{...sw|
|00003250| 69 74 63 68 20 28 50 72 | 6f 70 4e 61 6d 65 29 0d |itch (Pr|opName).|
|00003260| 0a 09 7b 0d 0a 09 09 63 | 61 73 65 20 22 54 69 6d |..{....c|ase "Tim|
|00003270| 65 54 6f 53 63 6f 72 65 | 22 3a 09 72 65 74 75 72 |eToScore|":.retur|
|00003280| 6e 20 64 65 66 61 75 6c | 74 2e 44 44 6f 6d 50 72 |n defaul|t.DDomPr|
|00003290| 6f 70 44 65 73 63 54 65 | 78 74 5b 30 5d 3b 0d 0a |opDescTe|xt[0];..|
|000032a0| 09 09 63 61 73 65 20 22 | 54 49 6d 65 44 69 73 61 |..case "|TImeDisa|
|000032b0| 62 6c 65 64 22 3a 20 72 | 65 74 75 72 6e 20 64 65 |bled": r|eturn de|
|000032c0| 66 61 75 6c 74 2e 44 44 | 6f 6d 50 72 6f 70 44 65 |fault.DD|omPropDe|
|000032d0| 73 63 54 65 78 74 5b 31 | 5d 3b 0d 0a 09 7d 0d 0a |scText[1|];...}..|
|000032e0| 0d 0a 09 72 65 74 75 72 | 6e 20 53 75 70 65 72 2e |...retur|n Super.|
|000032f0| 47 65 74 44 65 73 63 72 | 69 70 74 69 6f 6e 54 65 |GetDescr|iptionTe|
|00003300| 78 74 28 50 72 6f 70 4e | 61 6d 65 29 3b 0d 0a 7d |xt(PropN|ame);..}|
|00003310| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 61 63 74 |....func|tion act|
|00003320| 6f 72 20 46 69 6e 64 53 | 70 65 63 47 6f 61 6c 46 |or FindS|pecGoalF|
|00003330| 6f 72 28 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |or(Playe|rReplica|
|00003340| 74 69 6f 6e 49 6e 66 6f | 20 50 52 49 2c 20 69 6e |tionInfo| PRI, in|
|00003350| 74 20 54 65 61 6d 49 6e | 64 65 78 29 0d 0a 7b 0d |t TeamIn|dex)..{.|
|00003360| 0a 09 6c 6f 63 61 6c 20 | 58 50 6c 61 79 65 72 20 |..local |XPlayer |
|00003370| 50 43 3b 0d 0a 20 20 20 | 20 6c 6f 63 61 6c 20 78 |PC;.. | local x|
|00003380| 44 6f 6d 4c 65 74 74 65 | 72 20 44 6f 6d 5b 32 5d |DomLette|r Dom[2]|
|00003390| 2c 64 3b 0d 0a 0d 0a 20 | 20 20 20 50 43 20 3d 20 |,d;.... | PC = |
|000033a0| 58 50 6c 61 79 65 72 28 | 50 52 49 2e 4f 77 6e 65 |XPlayer(|PRI.Owne|
|000033b0| 72 29 3b 0d 0a 20 20 20 | 20 69 66 20 28 50 43 3d |r);.. | if (PC=|
|000033c0| 3d 4e 6f 6e 65 29 0d 0a | 20 20 20 20 09 72 65 74 |=None)..| .ret|
|000033d0| 75 72 6e 20 6e 6f 6e 65 | 3b 0d 0a 0d 0a 09 66 6f |urn none|;.....fo|
|000033e0| 72 65 61 63 68 20 41 6c | 6c 41 63 74 6f 72 73 28 |reach Al|lActors(|
|000033f0| 63 6c 61 73 73 27 78 44 | 6f 6d 4c 65 74 74 65 72 |class'xD|omLetter|
|00003400| 27 2c 64 29 0d 0a 20 20 | 20 20 09 69 66 20 28 78 |',d).. | .if (x|
|00003410| 44 6f 6d 41 28 64 29 21 | 3d 4e 6f 6e 65 29 0d 0a |DomA(d)!|=None)..|
|00003420| 20 20 20 20 20 20 20 20 | 09 44 6f 6d 5b 30 5d 3d | |.Dom[0]=|
|00003430| 64 3b 0d 0a 20 20 20 20 | 20 20 20 20 65 6c 73 65 |d;.. | else|
|00003440| 0d 0a 20 20 20 20 20 20 | 20 20 09 44 6f 6d 5b 31 |.. | .Dom[1|
|00003450| 5d 3d 64 3b 0d 0a 0d 0a | 20 20 20 20 69 66 20 28 |]=d;....| if (|
|00003460| 20 76 73 69 7a 65 28 50 | 43 2e 4c 6f 63 61 74 69 | vsize(P|C.Locati|
|00003470| 6f 6e 20 2d 20 44 6f 6d | 5b 30 5d 2e 4c 6f 63 61 |on - Dom|[0].Loca|
|00003480| 74 69 6f 6e 29 20 3c 20 | 76 73 69 7a 65 28 50 43 |tion) < |vsize(PC|
|00003490| 2e 4c 6f 63 61 74 69 6f | 6e 20 2d 20 44 6f 6d 5b |.Locatio|n - Dom[|
|000034a0| 31 5d 2e 4c 6f 63 61 74 | 69 6f 6e 29 20 29 0d 0a |1].Locat|ion) )..|
|000034b0| 20 20 20 20 09 72 65 74 | 75 72 6e 20 44 6f 6d 5b | .ret|urn Dom[|
|000034c0| 31 5d 3b 0d 0a 20 20 20 | 20 65 6c 73 65 0d 0a 20 |1];.. | else.. |
|000034d0| 20 20 20 09 72 65 74 75 | 72 6e 20 44 6f 6d 5b 30 | .retu|rn Dom[0|
|000034e0| 5d 3b 0d 0a 0d 0a 20 20 | 20 20 72 65 74 75 72 6e |];.... | return|
|000034f0| 20 6e 6f 6e 65 3b 0d 0a | 0d 0a 7d 0d 0a 0d 0a 65 | none;..|..}....e|
|00003500| 76 65 6e 74 20 53 65 74 | 47 72 61 6d 6d 61 72 28 |vent Set|Grammar(|
|00003510| 29 0d 0a 7b 0d 0a 09 4c | 6f 61 64 53 52 47 72 61 |)..{...L|oadSRGra|
|00003520| 6d 6d 61 72 28 22 44 4f | 4d 22 29 3b 0d 0a 7d 0d |mmar("DO|M");..}.|
|00003530| 0a 0d 0a 65 76 65 6e 74 | 20 44 65 73 74 72 6f 79 |...event| Destroy|
|00003540| 65 64 28 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |ed()..{.|..local |
|00003550| 69 6e 74 20 69 3b 0d 0a | 0d 0a 09 66 6f 72 20 28 |int i;..|...for (|
|00003560| 20 69 20 3d 20 30 3b 20 | 69 20 3c 20 32 3b 20 69 | i = 0; |i < 2; i|
|00003570| 2b 2b 20 29 0d 0a 09 7b | 0d 0a 09 09 69 66 20 28 |++ )...{|....if (|
|00003580| 20 78 44 6f 6d 50 6f 69 | 6e 74 73 5b 69 5d 20 21 | xDomPoi|nts[i] !|
|00003590| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 78 44 6f |= None )|.....xDo|
|000035a0| 6d 50 6f 69 6e 74 73 5b | 69 5d 2e 52 65 73 65 74 |mPoints[|i].Reset|
|000035b0| 43 6f 75 6e 74 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 09 |Count = |None;...|
|000035c0| 7d 0d 0a 09 53 75 70 65 | 72 2e 44 65 73 74 72 6f |}...Supe|r.Destro|
|000035d0| 79 65 64 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 00 |yed();..|}..... |
+--------+-------------------------+-------------------------+--------+--------+